Thanks Jeremy, this is very helpful. cheers tomcat
--- On Sun, 3/1/10, Jeremy Stott <[email protected]> wrote: From: Jeremy Stott <[email protected]> Subject: Re: [Stackless] How to send messages between tasklets in two different python programs To: [email protected] Cc: [email protected] Date: Sunday, 3 January, 2010, 2:01 On Sun, Jan 3, 2010 at 2:11 PM, TOUMAN <[email protected]> wrote: hi, I have two stackless python programs where each creates 3 tasklets. Program one creates tasks A,B and C and program two creates tasks D,E and F. As the tasklets A & D are in two different programs, how do you send messages from one to the other? I am assuming that you can not create stackless channels which connect between two different python programs? cheers tomcat You could use sockets to communicate between your programs? see: http://code.google.com/p/stacklessexamples/wiki/StacklessNetworking Otherwise you might be able to use channels to communicate between two threads? see: http://code.google.com/p/stacklessexamples/wiki/StacklessThreads Jeremy.
_______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
