Hi Juan... you need to either fire off a new process or a new thread. See the Python documentation for more info about how to do this (the threading, thread, and os modules). ----- Original Message ----- From: "Juan Carlos Coruña" <jcoruna@ibdosnorte.com> To: <zope@zope.org> Sent: Friday, May 11, 2001 10:40 AM Subject: [Zope] Threads in ExternalMethods
Hi all,
I am now trying to create an ExternalMethod that executes a long process (about 30 seconds) in a new thread and then this thread sends the result per e-mail. The ExternalMethod must return inmediatly. I need this behavior in order to not block the user while browsing.
Are there anybody that can help me?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )