On Tue, Jul 15, 2008 at 4:41 AM, inhahe <[EMAIL PROTECTED]> wrote: > Can someone help me with using stackless with python threads. I'm > trying to make a thread pool for database access using stackless > channels to activate the threads because I can't use signals because > I'm on Windows. So I run 4 threads (using the thread module) and each > thread runs 1 stackless tasklet in an infinite loop that waits to > receive from a unique channel. But it seems all four of them fall > through the receive() call each iteration - whether I send something > or not - and I'm guessing it's because each one thinks that it's the > last tasklet running because it's the only tasklet in its thread. So > how do I fix this? Here's the code I have..
What version of Stackless are you using? Are you using an SVN branch? An archived source code snapshot from the web site? One of the installers? If it is SVN, what revision do you have? Cheers, Richard. _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
