Re: [Rcpp-devel] Rcpp & Multithreading

2010-04-30 Thread Dirk Eddelbuettel
Hi again, On 30 April 2010 at 18:21, Jaiganesh Balasubramanian wrote: | Well, we already do that when RInside sets itself up: | |    #ifdef CSTACK_DEFNS |    R_CStackLimit = (uintptr_t)-1;      // Don't do any stack checking, | see R Exts, '8.1.5 Threading issues' |    #endif

Re: [Rcpp-devel] Rcpp & Multithreading

2010-04-30 Thread Jaiganesh Balasubramanian
Hi Dirk, Thanks for your reply. Well, we already do that when RInside sets itself up: > >#ifdef CSTACK_DEFNS >R_CStackLimit = (uintptr_t)-1; // Don't do any stack checking, see > R Exts, '8.1.5 Threading issues' >#endif > Yes, i noticed this, and added the MACRO definition in my

Re: [Rcpp-devel] Rcpp & Multithreading

2010-04-30 Thread Dirk Eddelbuettel
Hi Jaiganesh, Thanks for reposting here. On 30 April 2010 at 16:50, Jaiganesh Balasubramanian wrote: | Hi Folks, | | I am creating a multi-threaded C++ application that initializes RInside in one | of the child thread. | | I would also like to access support interfaces like Rcpp::Environment i

[Rcpp-devel] Rcpp & Multithreading

2010-04-30 Thread Jaiganesh Balasubramanian
Hi Folks, I am creating a multi-threaded C++ application that initializes RInside in one of the child thread. I would also like to access support interfaces like Rcpp::Environment in the remaining child threads, so that I could access any "R" function associated with the environment initialized.