On Jun 9, 6:50 am, "myopc" <my...@aaa.com> 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 http://bugs.python.org/issue1856
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
them.

Regards
Floris
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to