Skip to content
Prev 646 / 10988 Next

[Rcpp-devel] Rcpp & Multithreading

Hi Dirk,

Thanks for your reply.

Well, we already do that when RInside sets itself up:
Yes, i noticed this, and added the MACRO definition in my code as
#define CSTACK_DEFNS 1


What I would do now is to create a sample program with two threads, then
This is exactly what my program is doing right now, and it does not work.

If it works, it would be awesome, because, we could then perform multi-core
programming with Rcpp/RInside in a seamless fashion with any native
threading mechanism like Pthreads.

Thanks,
Jai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100430/6ca4997b/attachment.htm>