Problems with threads

Jonathan Giddy jon at rdt.monash.edu.au
Wed Sep 1 20:39:34 EDT 1999


Dominic Hillenbrand <I-C-H at gmx.de> writes:
>This code produces this type of error message:

>currentThread(): no current thread for 1025 
>currentThread(): no current thread for 2050 
>(.....)

>The program still seems to run correct!!!
>But what is the reason for the error message?

It is an interaction between the builtin thread module and the threading 
module.  If you start your threads using the threading.Thread class, the
message will not appear.

Essentially, this is a warning from threading.py that there is no Thread 
instance representing this thread.

Jon.




More information about the Python-list mailing list