File context.h
Used to store context used within the library.
Functions
-
Scheduler *context_get_scheduler(void)
Get the scheduler.
-
Coro *context_get_coro(void)
-
void context_set_scheduler(Scheduler *scheduler)
Sets the scheduler for this context.
- Parameters:
scheduler – Scheduler to set.