arrow-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Kietzman (Jira)" <j...@apache.org>
Subject [jira] [Created] (ARROW-12641) [C++] Provide thread id accessors
Date Mon, 03 May 2021 20:44:00 GMT
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)

Mime
View raw message