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

Function thread_id

tests/corealgos.h:92–92  ·  view source on GitHub ↗

See http://blogs.msdn.com/b/oldnewthing/archive/2004/02/23/78395.aspx

Source from the content-addressed store, hash-verified

90 typedef std::uint32_t thread_id_t;
91 static const thread_id_t invalid_thread_id = 0; // See http://blogs.msdn.com/b/oldnewthing/archive/2004/02/23/78395.aspx
92 static inline thread_id_t thread_id() { return static_cast<thread_id_t>(::GetCurrentThreadId()); }
93} } }
94#elif defined(__arm__) || defined(_M_ARM) || defined(__aarch64__) || (defined(__APPLE__) && TARGET_OS_IPHONE)
95namespace moodycamel { namespace corealgos { namespace details {

Callers 1

get_or_createMethod · 0.70

Calls 1

get_idFunction · 0.85

Tested by

no test coverage detected