[Stackless] porting from python-multitask to stackless

Ghulam Mustafa mustafa.pk at gmail.com
Fri Apr 16 15:35:41 CEST 2010


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 <andrewfr_ice at yahoo.com> wrote:
> Hi Mustafa:
>
>> Message: 1
>> Date: Thu, 15 Apr 2010 18:56:34 +0500
>> From: Ghulam Mustafa <mustafa.pk at gmail.com>
>> To: stackless at stackless.com
>> Subject: [Stackless] porting from python-multitask to
>> stackless
>> Message-ID:
>>     <t2v8213d6071004150656z9d11a1c3n9fd3030b079eddb9 at mail.gmail.com>
>> 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
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless
>



-- 
Ghulam Mustafa
cell: +92 333.611.7681
sip: cyrenity at ekiga.net
mail: mustafa.pk at gmail.com
web: cyrenity.wordpress.com



More information about the Stackless mailing list