You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2021/05/03 20:44:00 UTC

[jira] [Created] (ARROW-12641) [C++] Provide thread id accessors

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)