RetroArch
|
Classes | |
struct | SceFiber |
Macros | |
#define | LIBCO_C |
Functions | |
struct SceFiber | __attribute__ ((aligned(8))) |
int32_t | _sceFiberInitializeImpl (SceFiber *fiber, char *name, void *entry, uint32_t argOnInitialize, void *addrContext, int32_t sizeContext, void *params) |
int32_t | sceFiberFinalize (SceFiber *fiber) |
int32_t | sceFiberRun (SceFiber *fiber, uint32_t argOnRunTo, uint32_t *argOnRun) |
int32_t | sceFiberSwitch (SceFiber *fiber, uint32_t argOnRunTo, uint32_t *argOnRun) |
int32_t | sceFiberReturnToThread (uint32_t argOnReturn, uint32_t *argOnRun) |
static void | co_thunk (uint32_t argOnInitialize, uint32_t argOnRun) |
cothread_t | co_active (void) |
cothread_t | co_create (unsigned int heapsize, void(*coentry)(void)) |
void | co_delete (cothread_t cothread) |
void | co_switch (cothread_t cothread) |
Variables | |
static thread_local cothread_t | co_active_ = 0 |
char | reserved [128] |
#define LIBCO_C |
struct SceFiber __attribute__ | ( | (aligned(8)) | ) |
int32_t _sceFiberInitializeImpl | ( | SceFiber * | fiber, |
char * | name, | ||
void * | entry, | ||
uint32_t | argOnInitialize, | ||
void * | addrContext, | ||
int32_t | sizeContext, | ||
void * | params | ||
) |
cothread_t co_active | ( | void | ) |
co_active:
Gets the currently active context.
Returns: active context.
cothread_t co_create | ( | unsigned | int, |
void(*)(void) | |||
) |
co_create: : stack size : thread entry function callback
Create a co_thread.
Returns: cothread if successful, otherwise NULL.
void co_delete | ( | cothread_t | cothread | ) |
co_delete: : cothread object
Frees a co_thread.
void co_switch | ( | cothread_t | cothread | ) |
co_switch: : cothread object to switch to
Do a context switch to .
|
static |
char reserved[128] |