I have a program and I start 3 threads separately. I am using version 2.4.3.
thread.get_ident()
is not available in this version of Python I guess.
I use threading.currentThread()
but it only returns me this:
<_MainThread(MainThread, started)>
In other versions (3.3.3) I get something like
<_MainThread(MainThread, started 5420)>
where 5420
represents the Thread ID. How can I get this ID in Python 2.4 Versions?