<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks Jeremy, this is very helpful.<br><br>cheers<br>tomcat<br><br>--- On <b>Sun, 3/1/10, Jeremy Stott <i>&lt;tins.jeremy@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Jeremy Stott &lt;tins.jeremy@gmail.com&gt;<br>Subject: Re: [Stackless] How to send messages between tasklets in two  different python programs<br>To: touman@synkronix.co.uk<br>Cc: stackless@stackless.com<br>Date: Sunday, 3 January, 2010, 2:01<br><br><div id="yiv380672493"><br><br><div class="gmail_quote">On Sun, Jan 3, 2010 at 2:11 PM, TOUMAN <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:touman@btinternet.com" target="_blank" href="/mc/compose?to=touman@btinternet.com">touman@btinternet.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204);
 margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
hi,<br>I have two stackless python programs where each creates 3 tasklets.<br><br>Program one creates tasks A,B and C and program two creates tasks D,E and F. As the tasklets A &amp; D are in two different programs, how do you send messages from one to the other?<br>
<br>I am assuming that you can not create stackless channels which connect between two different python programs? <br><br>cheers<br>tomcat<br><br></td></tr></tbody></table></blockquote></div><br>You could use sockets to communicate between your programs? see: <a rel="nofollow" target="_blank" href="http://code.google.com/p/stacklessexamples/wiki/StacklessNetworking">http://code.google.com/p/stacklessexamples/wiki/StacklessNetworking</a><br>
<br>Otherwise you might be able to use channels to communicate between two threads? see: <a rel="nofollow" target="_blank" href="http://code.google.com/p/stacklessexamples/wiki/StacklessThreads">http://code.google.com/p/stacklessexamples/wiki/StacklessThreads</a><br>
<br>Jeremy.<br>
</div></blockquote></td></tr></table>