Embeded Multi-Threaded Python: PyEval_InitThread(), PyEval_SaveThread(),...

Ignacio Vazquez-Abrams ignacio at openservices.net
Wed Sep 19 14:37:03 EDT 2001


On 19 Sep 2001, Nicolas Duchastel wrote:

> I am trying to use the Python/C API function to get an embeded Interpreter
> into a multi-threaded C++ application. We are using Pthreads on Solaris 7.
> My application works fine, but only with 1 thread; and then, when I stop it,
> it core dumps.
> I am using Python 2.1.1 built on Solaris 7 with the SUN's C++ 5.2 compiler.

http://www.python.org/doc/current/api/initialization.html
http://www.python.org/doc/current/api/threads.html

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list