thanks for the reply, it took me sometime to understand the stackless thing. i am almost done migrating my project from multitask to stackless :)
best regards, -m On Fri, Apr 16, 2010 at 6:05 PM, Andrew Francis <[email protected]> wrote: > Hi Mustafa: > >> Message: 1 >> Date: Thu, 15 Apr 2010 18:56:34 +0500 >> From: Ghulam Mustafa <[email protected]> >> To: [email protected] >> Subject: [Stackless] porting from python-multitask to >> stackless >> Message-ID: >> <[email protected]> >> Content-Type: text/plain; charset=UTF-8 > >> i am going to port a piece of code from python-multitask to >> stackless, since i am new to python can someone help me understand how >> can i port following simple example to stackless python. > > ... > >> i am not able to understand what is the equivalent of >> following lines. > > I think the easiest thing for you to do is use the StacklessSocket library. > Essentially channels masquerade as sockets (and a reactor runs in a separate > tasklet) so it should be relatively easy to adapt. I seldom use > StacklessSocket so I can't really provide you with more information. However > look here: http://code.google.com/p/stacklessexamples/wiki/StacklessNetworking > > Cheers, > Andrew > > > > > > _______________________________________________ > Stackless mailing list > [email protected] > http://www.stackless.com/mailman/listinfo/stackless > -- Ghulam Mustafa cell: +92 333.611.7681 sip: [email protected] mail: [email protected] web: cyrenity.wordpress.com _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
