Yes, stacklessIO is designed to do that for you, to provide a transparently tasklet-blocking replacement module for socket and others. However, I hven't still managed to release it (although I do intend to as soon as I can) and it is at them moment Windows only, and likely to remain so for a bit.
Meanwhile, there is Richard Tew's async socket implementation. K > -----Original Message----- > From: [email protected] [mailto:stackless- > [email protected]] On Behalf Of Henning Diedrich > Sent: 8. júlí 2009 21:00 > To: Jeff Senn; [email protected] > Subject: Re: [Stackless] irc threads > > > > I'd bet it's not nearly so simple. Probably you are using threads > > because they do blocking socket IO. > > Stackless is not going to (directly) help with that -- and if you > > don't know what I'm talking about, then even > > the explanation is fairly lengthy... taking a look here might help: > > Isn't simply: Stackless tasklets, when blocking on IO, block the whole > system thread, and thus, all other tasklets that are using the same > thread? > > And Richard pointed (here: > http://www.gamedev.net/community/forums/topic.asp?topic_id=533250) to a > solution he has created for it that, which is not 'StacklessIO': > http://code.google.com/p/stacklessexamples/wiki/StacklessNetworking > > As StacklessIO, for what I understood, solves exactly that problem? > > Regards, > Henning > > _______________________________________________ > Stackless mailing list > [email protected] > http://www.stackless.com/mailman/listinfo/stackless _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
