search for: when_fork

Displaying 1 result from an estimated 1 matches for "when_fork".

2017 May 02
0
R 3.4 and mclapply assertion failure - is this a bug?
...#39;s great news that OpenMP is now enabled in MacOS CRAN binaries! Thanks Simon. data.table is supposed to automatically switch down to single-threaded mode when explicitly parallelized via the fork mechanism. It does that via functions registered in init.c as follows : pthread_atfork(&when_fork, &when_fork_end, NULL) Tests 1705 and 1706 test this is working. Those tests are passing ok on CRAN currently including x86_64-apple-darwin15.6.0. I'll work with Yan off list to see what the difference is. Either the fork catch isn't working in that environment for some reason, the...