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

Function yield

benchmarks/tbb/tbb_thread.h:321–321  ·  view source on GitHub ↗

Offers the operating system the opportunity to schedule another thread.

Source from the content-addressed store, hash-verified

319 inline tbb_thread::id get_id() { return internal::thread_get_id_v3(); }
320 //! Offers the operating system the opportunity to schedule another thread.
321 inline void yield() { internal::thread_yield_v3(); }
322 //! The current thread blocks at least until the time specified.
323 inline void sleep(const tick_count::interval_t &i) {
324 internal::thread_sleep_v3(i);

Callers

nothing calls this directly

Calls 1

thread_yield_v3Function · 0.85

Tested by

no test coverage detected