Re: [Zope] Make a Zope object single threaded
9 Mar
2001
9 Mar
'01
2:27 a.m.
Date: Tue, 6 Mar 2001 16:04:57 -0800 From: "Tim Lakey" <tim@carbonwave.com> To: <zope@zope.org>
Does anyone know how to force a Zope product to be single threaded within Zope?
its hackish, but you can take advantage of the python interpreter's module loading rules. basically you create a module in your product that defines a lock object on the modue level. on calls to the object you want to synchronize try to use the lock/semaphore/etc for locking. kapil
9159
Age (days ago)
9159
Last active (days ago)
0 comments
1 participants
participants (1)
-
ender