[Zope] threading cont ...
boundary="------------98A416F9F4157B1993D63C72"
Dieter Maurer
dieter@handshake.de
Tue, 8 Aug 2000 19:47:50 +0200 (CEST)
Nicholas Lo writes:
> ... database modification seen inside but not outside of process ...
Obviously, the database modifications have not been commited.
Auto-Commit in Zope is coupled to *one* thread serving the
request:
It works by registering with the "transaction" associated
with the current thread. At the end of a request
the transaction of the current thread is commited
(or aborted, if an error occured).
If registration is done in a different thread,
the actions are not commited/aborted at the end
of the request.
Why do you want to make your life more difficult by
splitting a Zope thread into several?
Dieter