Re: [Rd] Multithreaded code in .Call interface

2012-10-15 Thread Rob Anderson
Thanks for the reply. Rob On Sat, Oct 13, 2012 at 1:57 AM, Prof Brian Ripley wrote: > On 13/10/2012 08:09, Rob Anderson wrote: > >> Hi, >> >> I was wondering if it is safe to call R functions and/or R BLAS functions >> from within multithreaded C/C++ code(.Call interface)? It is not in case >> w

Re: [Rd] Multithreaded code in .Call interface

2012-10-13 Thread Prof Brian Ripley
On 13/10/2012 08:09, Rob Anderson wrote: Hi, I was wondering if it is safe to call R functions and/or R BLAS functions from within multithreaded C/C++ code(.Call interface)? It is not in case with MATLAB. I was experimenting using pthreads and OpenMP. Not unless it is documented to be so. (I

[Rd] Multithreaded code in .Call interface

2012-10-13 Thread Rob Anderson
Hi, I was wondering if it is safe to call R functions and/or R BLAS functions from within multithreaded C/C++ code(.Call interface)? It is not in case with MATLAB. I was experimenting using pthreads and OpenMP. Thanks, Rob [[alternative HTML version deleted]] __