MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / thread_id

Function thread_id

deps/concurrentqueue/concurrentqueue.h:94–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected