[Erp5-dev] Activity semaphoring/locking mechanisms, was: activate_kw for activities - how to use?

Łukasz Nowak lukasz.nowak at ventis.com.pl
Tue Mar 11 11:42:08 CET 2008


Hello,

On 2008-03-11, 11:39:33
Łukasz Nowak <lukasz.nowak at ventis.com.pl> wrote:

(...)
> Shall I create some kind of semaphore? Is there any nice
> guide/solution which I haven't found? Any tips welcome.
(...)

(Forgot to inform.)

Right now I'm using giant-lock-like mechanism - I'm waiting for any
methods, which are critical for builder - immediateReindexObject,
recursiveImmediateReindexObject, expand, updateAppliedRule, etc but
then:
 - sale packing list builder is locked if there is any activity in
system
 - sale packing list builder is totally locked if there is -2 activity
problem with any object

Regards,
Luke

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.



More information about the Erp5-dev mailing list