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.

Re: [Rcpp-devel] Rcpp & static variables

2010-04-30 Thread Dirk Eddelbuettel
Hi Guiseppe, Thanks for reposting here! On 30 April 2010 at 16:07, Giuseppe Milicia wrote: | Guys, | | I posted this on R-help and Dirk kindly pointed out that this list is a much better place for this sort of questions... | | I was wondering whether anyone experimented with Rcpp and static |

[Rcpp-devel] Rcpp & static variables

2010-04-30 Thread Giuseppe Milicia
Guys, I posted this on R-help and Dirk kindly pointed out that this list is a much better place for this sort of questions... I was wondering whether anyone experimented with Rcpp and static variables. I remember reading that Rcpp is essentially stateless. That makes sense. However I just run