Revision: 699 http://rpy.svn.sourceforge.net/rpy/?rev=699&view=rev Author: lgautier Date: 2008-11-22 19:50:46 +0000 (Sat, 22 Nov 2008)
Log Message: ----------- Unsuccessful first attempt at getting theads (commented out) Modified Paths: -------------- rpy2/trunk/rpy/rinterface/rinterface.c Modified: rpy2/trunk/rpy/rinterface/rinterface.c =================================================================== --- rpy2/trunk/rpy/rinterface/rinterface.c 2008-11-20 20:31:49 UTC (rev 698) +++ rpy2/trunk/rpy/rinterface/rinterface.c 2008-11-22 19:50:46 UTC (rev 699) @@ -1095,6 +1095,7 @@ Py_XDECREF(citems); } + //Py_BEGIN_ALLOW_THREADS //FIXME: R_GlobalContext ? PROTECT(res_R = do_eval_expr(call_R, R_GlobalEnv)); //PROTECT(res_R = do_eval_expr(call_R, CLOENV(fun_R))); @@ -1104,6 +1105,7 @@ /* return NULL; */ /* } */ UNPROTECT(2); + //Py_END_ALLOW_THREADS if (! res_R) { EmbeddedR_exception_from_errmessage(); @@ -1230,7 +1232,7 @@ c_R = CDR(c_R); } - + // Py_BEGIN_ALLOW_THREADS //FIXME: R_GlobalContext ? PROTECT(res_R = do_eval_expr(call_R, R_GlobalEnv)); //PROTECT(res_R = do_eval_expr(call_R, CLOENV(fun_R))); @@ -1240,6 +1242,7 @@ /* return NULL; */ /* } */ UNPROTECT(2); + //Py_END_ALLOW_THREADS if (! res_R) { EmbeddedR_exception_from_errmessage(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list