[Stackless] Stackless based replacement

Andrew Francis andrewfr_ice at yahoo.com
Sun Oct 5 22:01:08 CEST 2008


Hi Larry:

>(2) If libevent has nothing to do with Stackless, how can its callback
>perform a Stackless function (the channel send)?

Since Libevent seems to operate like Twisted (or asyncore), it should be run as just another Stackless tasklet, albeit an important one (the producer). The key is to associate a callback with a channel. From Stackless's point-of-view, this is just another case of tasklet to tasklet communications. 

Cheers,
Andrew



      




More information about the Stackless mailing list