Noob can't make threads work
Grant Edwards
grante at visi.com
Tue Mar 1 15:33:35 EST 2005
On 2005-03-01, Steve Horsley <shoot at the.moon> wrote:
>>>t1 = threading.Thread(target=fiddle())
>>>t2 = threading.Thread(target=fiddle())
>>
>> t1 = threading.Thread(target=fiddle)
>> t2 = threading.Thread(target=fiddle)
>
>
> Doh! Slap that forehead!
>
> Of course, I was calling fiddle() and using the
> return value (None) as the target argument. And
> a Thread with a target of None does nothing
> when start()ed.
Been there, done that.
--
Grant Edwards grante Yow! BELA LUGOSI is my
at co-pilot...
visi.com
More information about the Python-list
mailing list