I am considering adding multithreading support in my package, and would appreciate any suggestions/comments/opinions on what is the right way to do this.
* My understanding from reading documentation and source code is that there is no dedicated support in R yet, but there are packages that use multithreading. Are there any plans for multithreading support in future R versions ?
* pthread or openmp ? I am particularly concerned about interaction with other packages. I have seen that using pthread and openmp libraries simultaneously can result in incorrectly pinned threads.
* control of maximum number of threads. One can default to openmp environment variable, but these might vary between openmp implementations.
thank you very much Vladimir Dergachev ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel