Calling python interpreter from a thread created in C

Jarppe jarppe_remove_this_ at gmail.com
Tue Nov 2 06:50:33 EST 2004


Hello,

What should I do to be able to call Pyhton interpreter from a posix 
thread that is created in C?

I have a C-library that creates a thread and then makes callbacks to 
user supplied function from that threads context. I'm writing a wrapper 
for this library and I need to call python interpreter from that callback.

I'm using Python 2.3 in Linux.

Any help appreciated.

-- 

-jarppe

   If you have the right attitude, interesting problems will find you.
       -- Eric Steven Raymond



More information about the Python-list mailing list