Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
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.
Attachments
Issue Links
- links to