MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / thread_id

Function thread_id

concurrentqueue.h:95–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 static const thread_id_t invalid_thread_id = 0xFFFFFFFFU;
94 static const thread_id_t invalid_thread_id2 = 0xFFFFFFFEU;
95 static inline thread_id_t thread_id() { return rl::thread_index(); }
96} }
97#elif defined(_WIN32) || defined(__WINDOWS__) || defined(__WIN32__)
98// No sense pulling in windows.h in a header, we'll manually declare the function

Callers 2

Calls 2

thread_indexFunction · 0.85
get_idFunction · 0.85

Tested by

no test coverage detected