threading - race condition?

skunkwerk skunkwerk at gmail.com
Mon May 12 15:33:48 EDT 2008


On May 11, 9:10 pm, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
wrote:
> En Sun, 11 May 2008 13:16:25 -0300,skunkwerk<skunkw... 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

thanks Gabriel,
   i think that could do it - let me try it out.  don't know why i
didn't think of it earlier.



More information about the Python-list mailing list