Problem with threads and signals

Sebastian Meyer s.meyer at technology-network.de
Thu Mar 18 05:02:42 EST 2004


On Wed, 17 Mar 2004 15:43:44 +0100, Sebastian Meyer wrote:

> On Wed, 17 Mar 2004 11:22:47 +0100, Holger Joukl wrote:
>> threads["process"] = BatchProcessor()
>> # start the threads
>> for th in threads:
>>     th.start()  # <---- Does that work???
>> 
> of cource does this work, ... makes life a lot easier and saves up
> variable names ... :-))
> 

ough ... seems i ve made a mistake, of course this does not function,
what i meant was

for th in threads:
    threads[th].start()

Sebastian



More information about the Python-list mailing list