[C++-sig] how to use PyRun_SimpleFile in a multithread C++ program?

jack833 jack833 at 163.com
Mon Sep 18 13:52:08 CEST 2006


Hi,Every one,
i need help about PyRun_simplefile function,the program i'm writing  is a
C++ program which will start serveral threads .each thread will use
PyRun_simplefile function to do something,but python script file is the
same.
now the program is offten crash down,but there is no problem while only
thread which use PyRun_simplefile,but that is not what i wanted. is there
anyone who can tell me how to resove it. 
-- 
View this message in context: http://www.nabble.com/how-to-use-PyRun_SimpleFile-in-a--multithread-C%2B%2B-program--tf2290802.html#a6362248
Sent from the Python - c++-sig mailing list archive at Nabble.com.




More information about the Cplusplus-sig mailing list