Unique thread ID

Benjamin musiccomposition at gmail.com
Thu Jan 17 22:45:43 EST 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