Re: threading - race condition?
- From: "Gabriel Genellina" <gagsl-py2@xxxxxxxxxxxx>
- Date: Mon, 12 May 2008 01:10:35 -0300
En Sun, 11 May 2008 13:16:25 -0300, skunkwerk <skunkwerk@xxxxxxxxx> 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
.
- Follow-Ups:
- Re: threading - race condition?
- From: skunkwerk
- Re: threading - race condition?
- References:
- threading - race condition?
- From: skunkwerk
- Re: threading - race condition?
- From: John Nagle
- Re: threading - race condition?
- From: skunkwerk
- Re: threading - race condition?
- From: skunkwerk
- threading - race condition?
- Prev by Date: Re: Module python-magic on/for Windows?
- Next by Date: Re: Convention for name indicating "don't care about the value" (was: Is using range() in for loops really Pythonic?)
- Previous by thread: Re: threading - race condition?
- Next by thread: Re: threading - race condition?
- Index(es):
Relevant Pages
|