threading - race condition?
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Mon May 12 00:10:35 EDT 2008
En Sun, 11 May 2008 13:16:25 -0300, skunkwerk <skunkwerk at gmail.com> escribió:
> the only issue i have now is that it takes a long time for 100 threads
> to initialize that connection (>5 minutes) - and as i'm doing this on
> a webserver any time i update the code i have to restart all those
> threads, which i'm doing right now in a for loop. is there any way I
> can keep the thread stuff separate from the rest of the code for this
> file, yet allow access?
Like using a separate thread to create the other 100?
--
Gabriel Genellina
More information about the Python-list
mailing list