[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
- Previous message: [Python-Dev] working with Python threads from C extension module?
- Next message: [Python-Dev] working with Python threads from C extension module?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] working with Python threads from C extension module?
- Next message: [Python-Dev] working with Python threads from C extension module?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]