CF_CoroutineState¶
Category: coroutine
GitHub: cute_coroutine.h
The states of a coroutine.
Values¶
| Enum | Description |
|---|---|
CF_COROUTINE_STATE_DEAD |
The coroutine has stopped running entirely. |
CF_COROUTINE_STATE_ACTIVE_AND_RUNNING |
The coroutine is not dead, and currently running. |
CF_COROUTINE_STATE_ACTIVE_BUT_RESUMED_ANOTHER |
The coroutine is not dead, but has called cf_coroutine_resume on another coroutine. |
CF_COROUTINE_STATE_SUSPENDED |
The coroutine is not dead, but is not active since it called cf_coroutine_yield. |
Related Pages¶
CF_Coroutine
CF_CoroutineFn
cf_destroy_app
cf_make_coroutine
cf_destroy_coroutine
cf_coroutine_state_to_string
cf_coroutine_resume
cf_coroutine_yield
cf_coroutine_state
cf_coroutine_get_udata
cf_coroutine_push
cf_coroutine_pop
cf_coroutine_bytes_pushed
cf_coroutine_space_remaining
cf_coroutine_currently_running
cf_make_app