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

Function thread_get_id_v3

benchmarks/tbb/tbb_thread.cpp:142–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142tbb_thread_v3::id thread_get_id_v3() {
143#if _WIN32||_WIN64
144 return tbb_thread_v3::id( GetCurrentThreadId() );
145#else
146 return tbb_thread_v3::id( pthread_self() );
147#endif // _WIN32||_WIN64
148}
149
150void move_v3( tbb_thread_v3& t1, tbb_thread_v3& t2 )
151{

Callers 1

get_idFunction · 0.85

Calls 1

idClass · 0.85

Tested by

no test coverage detected