RetroArch
|
#include <retro_common_api.h>
Go to the source code of this file.
Functions | |
cothread_t | co_active (void) |
cothread_t | co_create (unsigned int, void(*)(void)) |
void | co_delete (cothread_t cothread) |
void | co_switch (cothread_t cothread) |
Variables | |
RETRO_BEGIN_DECLS typedef void * | cothread_t |
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 .
RETRO_BEGIN_DECLS typedef void* cothread_t |