[
https://issues.apache.org/jira/browse/ARROW-11917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou reassigned ARROW-11917:
--------------------------------------
Assignee: (was: Antoine Pitrou)
> [C++] Investigate signal-safe spin lock
> ---------------------------------------
>
> Key: ARROW-11917
> URL: https://issues.apache.org/jira/browse/ARROW-11917
> Project: Apache Arrow
> Issue Type: Task
> Components: C++
> Reporter: Antoine Pitrou
> Priority: Minor
>
> Abseil claims to have a async-signal-safe spinlock class:
> https://github.com/abseil/abseil-cpp/blob/master/absl/base/internal/spinlock.h
> This could be used to implement rudimentary mutual exclusion between a signal
> handler and regular code that sets up or tears down shared resources used by
> the handler.
> The caveat is that signals need (apparently) to be blocked inside the handler
> before taking the spinlock.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)