Re: Distributed locking

2009-05-14 Thread Piet van Oostrum
> James (J) wrote: >J> Hey all, I'm looking for suggestions on how to tackle distributed >J> locking across several Python programs on several different machines. Have you looked at the multiprocessing package? It has distributed Locks's with timeouts which might well fit your requirements.

Re: Distributed locking

2009-05-14 Thread Diez B. Roggisch
James schrieb: Hey all, I'm looking for suggestions on how to tackle distributed locking across several Python programs on several different machines. - the objects to be locked are uniquely identified by an integer - I need "one at a time" semantics for the lock: zero or one read- writer at any