RetroArch
|
Classes | |
struct | task_queue_t |
struct | retro_task_impl |
Macros | |
#define | SLOCK_LOCK(x) |
#define | SLOCK_UNLOCK(x) |
Variables | |
static retro_task_queue_msg_t | msg_push_bak |
static task_queue_t | tasks_running = {NULL, NULL} |
static task_queue_t | tasks_finished = {NULL, NULL} |
static struct retro_task_impl * | impl_current = NULL |
static bool | task_threaded_enable = false |
static struct retro_task_impl | impl_regular |
#define SLOCK_LOCK | ( | x | ) |
#define SLOCK_UNLOCK | ( | x | ) |
|
static |
|
static |
|
static |
|
static |
void task_free_title | ( | retro_task_t * | task | ) |
bool task_get_cancelled | ( | retro_task_t * | task | ) |
void* task_get_data | ( | retro_task_t * | task | ) |
char* task_get_error | ( | retro_task_t * | task | ) |
bool task_get_finished | ( | retro_task_t * | task | ) |
bool task_get_mute | ( | retro_task_t * | task | ) |
int8_t task_get_progress | ( | retro_task_t * | task | ) |
char* task_get_title | ( | retro_task_t * | task | ) |
Signals a task to end without waiting for it to complete.
bool task_queue_find | ( | task_finder_data_t * | find_data | ) |
Calls func for every running task until it returns true. Returns a task or NULL if not found.
|
static |
void task_queue_init | ( | bool | threaded, |
retro_task_queue_msg_t | msg_push | ||
) |
|
static |
void task_queue_push | ( | retro_task_t * | task | ) |
|
static |
|
static |
void task_queue_retrieve | ( | task_retriever_data_t * | data | ) |
Calls func for every running task when handler parameter matches task handler, allowing the list parameter to be filled with user-defined data.
void task_queue_retriever_info_free | ( | task_retriever_info_t * | list | ) |
void* task_queue_retriever_info_next | ( | task_retriever_info_t ** | link | ) |
void task_queue_wait | ( | retro_task_condition_fn_t | cond, |
void * | data | ||
) |
void task_set_cancelled | ( | retro_task_t * | task, |
bool | cancelled | ||
) |
void task_set_data | ( | retro_task_t * | task, |
void * | data | ||
) |
void task_set_error | ( | retro_task_t * | task, |
char * | error | ||
) |
void task_set_finished | ( | retro_task_t * | task, |
bool | finished | ||
) |
void task_set_mute | ( | retro_task_t * | task, |
bool | mute | ||
) |
void task_set_progress | ( | retro_task_t * | task, |
int8_t | progress | ||
) |
void task_set_title | ( | retro_task_t * | task, |
char * | title | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |