[ZODB-Dev] zope xron and multithreading

Shane Hathaway shane@zope.com
Tue, 09 Jul 2002 13:05:18 -0400


Mitscher Dubreus wrote:
> Hi,
> I'm using the Xron interface.
> I need to start several blocking python script processes form Zope.
> But I can not manage to start more than one. 
> The first one keeps the hand, and I can do nothing else in the Zope interface.
> Does somebody knows how I could manage?
> thanks.
> 
> 
> Her's my XronDTMLMethod def inside the Xron Interface.
> -----------------------------------------------------------------------------------------------------------------
> Content-type: text/plain
> 
> <dtml-var expr="PyServer()">
> ------------------------------------------------------------------------------------------------------------------
> 
> I would like to be able to start PyServer() and keep the hand in order to 
> start something else.
> This doesn't seem to do multithreading.

What does PyServer do?

By "keep the hand", do you mean start a new thread?

Have you asked zope@zope.org?  (This mailing list is for ZODB only--you 
should ask zope@zope.org instead.)

Shane