cortex 0.0.1
Loading...
Searching...
No Matches
yield.hpp
Go to the documentation of this file.
1#pragma once
2
8namespace cortex::tiny_fiber {
9
19void Yield();
20
29
39
40} // namespace cortex::tiny_fiber
Cooperative multitasking primitives built on cortex::Coroutine.
Definition condition_variable.hpp:13
bool IsStopping()
Check if the current scheduler is stopping.
bool YieldIfOthersReady()
Yield only if there are other ready fibers.
void Yield()
Yield control to other ready fibers.