ao_yield.h
Yielding

Include

ao_task.h

Functions

ao_yield

void ao_yield();

Yields execution to another task.

ao_yield_to

void ao_yield_to(ao_task_t * t);

Yields execution to the specified task. Thereby, this function blocks the calling task indefinitely and unblocks the specified task.