<html><body>On 11:25 am, andrewfr_ice@yahoo.com wrote:<br /><br />>I execute Stackless and Twisted in their own threads.<br />>Otherwise when the Twisted reactor blocks, Stackless<br />>tasklets (read threads) that could otherwise run,<br />>would be blocked too.<br /><br />Stackless tasklets that "want to run" ought to be running due to events transpiring.  One kind of event is "time passes" (reactor.callLater), other types of events are user interaction (like callbacks in a UI such as GTK) or I/O events (dataReceived, connectionLost, et. al.)<br /><br />There should be no need for native threads in a Twisted+Stackless universe.  Even if all your tasklets constantly want to be doing work, they should be able to do that via a tasklet scheduler that is always running with a 0 callLater timeout.<br /><br />Do you think this would be possible?<br /></body></html>