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