Ok will try that. Thx a lot.
--Hans -----Original Message----- From: Richard Tew [mailto:[email protected]] Sent: Monday, April 27, 2009 6:48 PM To: Hans Rakotomanga -X (hrakotom - GFT Technologies SARL at Cisco) Cc: [email protected] Subject: Re: [Stackless] Stackless Python windows Service On Mon, Apr 27, 2009 at 12:07 PM, Hans Rakotomanga -X (hrakotom - GFT Technologies SARL at Cisco) <[email protected]> wrote: > Basically, I would like to run a couple windows service in the > background, however since uthread.run() ( or stackless.run() i suppose > ) blocks until end of execution, it never reaches the windows block until event. If you need to block for Windows events, you need to do it on a separate thread. Or conversely, start the tasklets on a separate thread and run a scheduler on that thread. Tasklets are created on a per-thread basis. > Also, I don't see any threads running. What threads? Why would they be running? Cheers, Richard. _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
