Hello,

I'm currently using the unif_rand() function of R to get a random number from the uniform distribution in the C-part of a R package. The unif_rand() is heavily used. Now I would like to spawn several threads within the package in which the function is also heavily used. Is it safe and efficient to call this function from multiple threads?

Bye,
Sebastian

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to