[Python-Dev] working with Python threads from C extension module? (original) (raw)

Bill Janssen janssen at parc.com
Sat Sep 8 20:41:42 CEST 2007


This has got to be a problem with other extension modules linked to libraries which have their own threading abstractions.

Sure enough, sqlite3 simply assumes threads (won't build without them), and turns them on if it's used (by calling PyThread_get_thread_ident(), which in turn calls PyThread_init_thread()).

Bill



More information about the Python-Dev mailing list