[Zope] Make a Zope object single threaded
ender
kthangavelu@earthlink.net
Thu, 8 Mar 2001 18:27:00 -0800
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