[Stackless] Stackless and mysqldb

Simon Pickles sipickles at hotmail.com
Mon Jan 14 21:22:00 CET 2008


for your perusal, here is a first stab at background SQL access thru 


It stalls sometimes since the main threadlet is doing the call, I don't 
envisage that being the case in a useful situation, where a secondary 
thread will be left waiting.

I am a beginner at sharing code, so your advice/heavy criticism appreciated



Linux user #458601 - http://counter.li.org.

Andrew Dalke wrote:
> On Jan 14, 2008, at 12:48 PM, Simon Pickles wrote:
>> I think I have experienced the deadlock-causing-exit already!  To  
>> counter this, can I just keep a monitoring tasklet running to keep  
>> the main tasklet alive?
> Yes.  Or a wrapper in the main tasklet which runs schedule again when  
> threads are still alive.  I think I like your solution better.
> 				Andrew
> 				dalke at dalkescientific.com
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless

More information about the Stackless mailing list