I was attempting to fix the pyevent stackless nonblocking socket
module here: 
http://code.google.com/p/stacklessexamples/wiki/StacklessNonblockModules

I ran into a problem where the channel balance was incorrect. A
threadlet is blocked trying to send on line 215 when the channel
balance is -1. Using pdb and executing send unblocks the channel. When
weakref was removed, the problem went away.

Stakkars thought I should post on the mailing list so here it is.

http://codepad.org/TWa68adr

Attachment: raw.py
Description: Binary data

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to