threads and extension module initialization

pianomaestro at gmail.com pianomaestro at gmail.com
Fri Mar 28 10:51:10 EDT 2008


I have an extension module that gets initialized multiple
times because I am using threads.

How can this module access global state (not per-thread state) ?
It needs to create a singleton.

Simon.




More information about the Python-list mailing list