MCPcopy Create free account
hub / github.com/davisking/dlib / is_task_thread

Method is_task_thread

dlib/threads/thread_pool_extension.cpp:333–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331// ----------------------------------------------------------------------------------------
332
333 bool thread_pool_implementation::
334 is_task_thread (
335 ) const
336 {
337 auto_mutex M(m);
338 return is_worker_thread(get_thread_id());
339 }
340
341// ----------------------------------------------------------------------------------------
342

Callers

nothing calls this directly

Calls 1

get_thread_idFunction · 0.70

Tested by

no test coverage detected