Simple coroutine library / objects in plain C Snapshot
|
#include <cthread.h>
Public Attributes | |
ucontext_t | context_coroutine |
ucontext_t | context_caller |
CTHREAD_STATE | state |
uint32_t | thread_id |
int | thread_to_caller_value_set |
VALUES | thread_to_caller_value |
int | caller_to_thread_value_set |
VALUES | caller_to_thread_value |
CTHREAD_PROC | proc |
struct tagCTHREAD * | prev_thread |
STACK_ENTRY * | stack_entry |
ucontext_t tagCTHREAD::context_caller |
ucontext_t tagCTHREAD::context_coroutine |
struct tagCTHREAD* tagCTHREAD::prev_thread |
uint32_t tagCTHREAD::thread_id |