<br><br><div class="gmail_quote">On Sun, Jan 3, 2010 at 2:11 PM, TOUMAN <span dir="ltr">&lt;<a href="mailto: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 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 href="http://code.google.com/p/stacklessexamples/wiki/StacklessThreads">http://code.google.com/p/stacklessexamples/wiki/StacklessThreads</a><br>
<br>Jeremy.<br>