Re: threading.Semaphore (quite long)

2011-04-12 Thread Aahz
In article , Thomas Rachel wrote: > >I want to implement an alternative concept to worker threads processing >a job queue. The alternative consists of threads being the jobs >themselves and thus running only this one job. The job threads are >started after a Semaphore's acquire() "giving the

threading.Semaphore (quite long)

2011-03-28 Thread Thomas Rachel
[posted in de.clp in German] Hello, I want to implement an alternative concept to worker threads processing a job queue. The alternative consists of threads being the jobs themselves and thus running only this one job. The job threads are started after a Semaphore's acquire() "giving the OK"