From henrik.bengtsson at ucsf.edu  Fri Aug 14 23:00:18 2015
From: henrik.bengtsson at ucsf.edu (Henrik Bengtsson)
Date: Fri, 14 Aug 2015 23:00:18 +0200
Subject: [Rd] Why not pthreads on Windows in 'parallel' package?
Message-ID: <CAFDcVCQO4b8ss08ZM_zXAp-4FAXL1dRj=9vRK6dB7hRSWivJGQ@mail.gmail.com>

On Windows there are a few 'pthreads' implementation, e.g.
pthreads-w32 and winpthreads
[https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Using-pthreads].
We're thinking of giving them a try for the matrixStats package, and
basic tests indicates it works, but since Windows pthreads are not
used by core R (or?) I've got a little bit worried that we will face
overwhelming problems.

So, why are the above Windows implementations not used in the
'parallel' package in order to add multicore support for mclapply() on
Windows?  Was it tried but found to be unreliable?  Was it that no one
had the time to do it?  License issues?  Are there any pointers to old
R-devel threads discussing this?

Thanks

Henrik



[Rd] Why not pthreads on Windows in 'parallel' package?
Henrik Bengtsson