MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / get_id

Method get_id

src/tinythread/tinythread.cpp:252–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252thread::id thread::get_id() const
253{
254 if(!joinable())
255 return id();
256#if defined(_TTHREAD_WIN32_)
257 return id((unsigned long int) mWin32ThreadID);
258#elif defined(_TTHREAD_POSIX_)
259 return _pthread_t_to_ID(mHandle);
260#endif
261}
262
263unsigned thread::hardware_concurrency()
264{

Callers

nothing calls this directly

Calls 2

idClass · 0.85
_pthread_t_to_IDFunction · 0.85

Tested by

no test coverage detected