Re: Re: Help: Group based synchronize decorator

2009-06-21 Thread Vishal Shetye
hon.org > Subject: Re: Help: Group based synchronize decorator > Message-ID: > Content-Type: text/plain; charset=us-ascii > > >>>>> Vishal Shetye (VS) wrote: > > >VS> I want to synchronize calls using rw locks per 'group' and my > implementation i

Re: Help: Group based synchronize decorator

2009-06-19 Thread Piet van Oostrum
> Vishal Shetye (VS) wrote: >VS> I want to synchronize calls using rw locks per 'group' and my >implementation is similar to >VS> http://code.activestate.com/recipes/465057/ >VS> except that I have my own Lock implementation. >VS> All my synchronized functions take 'whatGroup' as param. My

Help: Group based synchronize decorator

2009-06-18 Thread Vishal Shetye
I want to synchronize calls using rw locks per 'group' and my implementation is similar to http://code.activestate.com/recipes/465057/ except that I have my own Lock implementation. All my synchronized functions take 'whatGroup' as param. My lock considers 'group' while deciding on granting lock