[Zope] Help on synchronous methods?

Dieter Maurer dieter@handshake.de
Thu, 8 Jun 2000 22:14:45 +0200 (CEST)


Craig Allen writes:
 > How can I synchronize external method completion with DTML method invocation?
 > [and do I need to?]
A single request is executed by a single thread.
Inside this thread, all invocations are serial (and therefore synchronized).

Different requests may be executed by different threads.
The operations in different threads are usually not synchronized.
You may use services of the Python threading module (in external methods)
to provide explicite synchronization.


Dieter