[Stackless] How to send messages between tasklets in two different python programs
touman at btinternet.com
Sun Jan 3 22:46:20 CET 2010
Thanks Jeremy, this is very helpful.
--- On Sun, 3/1/10, Jeremy Stott <tins.jeremy at gmail.com> wrote:
From: Jeremy Stott <tins.jeremy at gmail.com>
Subject: Re: [Stackless] How to send messages between tasklets in two different python programs
To: touman at synkronix.co.uk
Cc: stackless at stackless.com
Date: Sunday, 3 January, 2010, 2:01
On Sun, Jan 3, 2010 at 2:11 PM, TOUMAN <touman at btinternet.com> wrote:
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?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Stackless