Ben Kietzman created ARROW-12641:
------------------------------------
Summary: [C++] Provide thread id accessors
Key: ARROW-12641
URL: https://issues.apache.org/jira/browse/ARROW-12641
Project: Apache Arrow
Issue Type: New Feature
Components: C++
Reporter: Ben Kietzman
Assignee: Ben Kietzman
Fix For: 5.0.0
Sometimes, a worker thread must identify its thread id within a ThreadPool (for
example, to support safe concurrent access to per-thread state). We could use
{{std::this_thread::get_id()}} for this, but this is less convenient for
indexing into a container of per-thread state.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)