multi-thread python interpreaters and c++ program

Floris Bruynooghe floris.bruynooghe at
Wed Jun 10 07:56:51 EDT 2009

On Jun 9, 6:50 am, "myopc" <my... at> wrote:
>   I am ruuning a c++ program (boost python) , which create many python
> interpreaters and each run a python script with use multi-thread
> (threading).
> when the c++ main program exit, I want to shut down python interpreaters,
> but it crashed.

Your threads are daemonic, you could be seeing
You'll have to check your stack in a debugger to know.  But as said
this can be avoided by making the threads finish themself and joining


More information about the Python-list mailing list