Author: rco Date: 2008-04-23 16:50:18 +0200 (Wed, 23 Apr 2008) New Revision: 904
Modified: trunk/apps/ivr/Ivr.cpp Log: - fixes bad dead lock on Mac OSX. This could potentially happen also elsewhere, depending on exact python version. Modified: trunk/apps/ivr/Ivr.cpp =================================================================== --- trunk/apps/ivr/Ivr.cpp 2008-04-23 14:03:10 UTC (rev 903) +++ trunk/apps/ivr/Ivr.cpp 2008-04-23 14:50:18 UTC (rev 904) @@ -292,7 +292,7 @@ PyEval_InitThreads(); set_sys_path(script_path); import_ivr_builtins(); - PyEval_ReleaseLock(); + PyEval_SaveThread(); } void IvrFactory::set_sys_path(const string& script_path) _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
