Unique thread ID

Benjamin musiccomposition at gmail.com
Fri Jan 18 04:45:43 CET 2008


Is there a way to obtain a unique ID for the current thread? I have an
object that I need to store local thread data in, and I don't want to
use threading.local because each thread might have multiple instances
of my object.



More information about the Python-list mailing list