Threads, Callbacks, Classes [Long]
Gerson Kurz
gerson.kurz at t-online.de
Tue Jun 26 13:47:52 EDT 2001
Found it! The new version in
http://www.p-nand-q.com/python/pxfstest.zip
now works from a different thread, also. I built the debug binaries,
debugged, and saw that some state variable was null: you need to call
PyEval_InitThreads(), duh. Thread-support seems to get activated by
the first python thread (threading.Thread ??), too.
I still have my doubts about the reference counts in the code, but hey
the callbacks work, what more can you ask.
More information about the Python-list
mailing list