Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/David-Haim/concurrencpp
/ thread_per_thread_data
Class
thread_per_thread_data
source/threads/thread.cpp:18–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
}
17
18
struct thread_per_thread_data {
19
const std::uintptr_t id = generate_thread_id();
20
};
21
22
thread_local thread_per_thread_data s_tl_thread_per_data;
23
} // namespace
Callers
nothing calls this directly
Calls
1
generate_thread_id
Function · 0.85
Tested by
no test coverage detected