[Zope] How to prevent concurrent access to the same object?

Alexei Ustyuzhaninov aiu@quorus-ms.ru
Mon, 11 Feb 2002 09:47:49 +0500


Dieter Maurer wrote:

> Alexei Ustyuzhaninov writes:
>  > Is it possible to make a zope object which doesn't allow simultaneous 
>  > access to itself?
> You may have a look at my product "SharableResource":
> 
>   <http://www.dieter.handshake.de/pyprojects/zope>


Thanks. Unfortunately RLock-based methods don't work in this situation 
(in linux at least) because concurrent transactions are executed in 
separate processes, not in threads of a single process.

-- 
Alexei