cortex 0.0.1
Loading...
Searching...
No Matches
yield.hpp File Reference

Yield functions for cooperative multitasking. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cortex
 
namespace  cortex::tiny_fiber
 Cooperative multitasking primitives built on cortex::Coroutine.
 

Functions

void cortex::tiny_fiber::Yield ()
 Yield control to other ready fibers.
 
bool cortex::tiny_fiber::YieldIfOthersReady ()
 Yield only if there are other ready fibers.
 
bool cortex::tiny_fiber::IsStopping ()
 Check if the current scheduler is stopping.
 

Detailed Description

Yield functions for cooperative multitasking.