Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::this_tbb_thread Namespace Reference

Functions

tbb_thread::id get_id ()
 
void yield ()
 Offers the operating system the opportunity to schedule another thread. More...
 
void sleep (const tick_count::interval_t &i)
 The current thread blocks at least until the time specified. More...
 

Function Documentation

◆ get_id()

tbb_thread::id tbb::this_tbb_thread::get_id ( )
inline

◆ sleep()

void tbb::this_tbb_thread::sleep ( const tick_count::interval_t i)
inline

The current thread blocks at least until the time specified.

Definition at line 321 of file tbb_thread.h.

321  {
323  }
void __TBB_EXPORTED_FUNC thread_sleep_v3(const tick_count::interval_t &i)
Definition: tbb_thread.cpp:164

References tbb::internal::thread_sleep_v3().

Here is the call graph for this function:

◆ yield()

void tbb::this_tbb_thread::yield ( )
inline

Offers the operating system the opportunity to schedule another thread.

Definition at line 319 of file tbb_thread.h.

void __TBB_EXPORTED_FUNC thread_yield_v3()
Definition: tbb_thread.cpp:159

References tbb::internal::thread_yield_v3().

Here is the call graph for this function:

Copyright © 2005-2019 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.