[
https://issues.apache.org/jira/browse/ARROW-8379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17078816#comment-17078816
]
Wes McKinney commented on ARROW-8379:
-------------------------------------
If I had to naively guess (not knowing whether Rcpp handles this stuff itself),
we need to add a global mutex any place that's creating new R objects, similar
to the Python GIL. Basically anywhere where one of the {{*Vector::create}}
functions is called
> [R] Investigate/fix thread safety issues (esp. Windows)
> -------------------------------------------------------
>
> Key: ARROW-8379
> URL: https://issues.apache.org/jira/browse/ARROW-8379
> Project: Apache Arrow
> Issue Type: New Feature
> Components: R
> Reporter: Neal Richardson
> Priority: Major
>
> There have been a number of issues where the R bindings' multithreading has
> been implicated in unstable behavior (ARROW-7844 for example). In ARROW-8375
> I disabled {{use_threads}} in the Windows tests, and it appeared that the
> mysterious Windows segfaults stopped. We should fix whatever the underlying
> issues are.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)