RetroArch
|
#include <stdint.h>
#include <stddef.h>
#include <boolean.h>
#include <retro_common.h>
#include <retro_common_api.h>
Go to the source code of this file.
Classes | |
struct | decompress_task_data_t |
struct | retro_task |
struct | task_finder_data |
struct | task_retriever_info |
struct | task_retriever_data |
Typedefs | |
typedef struct retro_task | retro_task_t |
typedef void(* | retro_task_callback_t) (void *task_data, void *user_data, const char *error) |
typedef void(* | retro_task_handler_t) (retro_task_t *task) |
typedef bool(* | retro_task_finder_t) (retro_task_t *task, void *userdata) |
typedef void(* | retro_task_queue_msg_t) (const char *msg, unsigned prio, unsigned duration, bool flush) |
typedef bool(* | retro_task_retriever_t) (retro_task_t *task, void *data) |
typedef bool(* | retro_task_condition_fn_t) (void *data) |
typedef struct task_finder_data | task_finder_data_t |
typedef struct task_retriever_info | task_retriever_info_t |
typedef struct task_retriever_data | task_retriever_data_t |
Enumerations | |
enum | task_type { TASK_TYPE_NONE, TASK_TYPE_BLOCKING } |
typedef bool(* retro_task_finder_t) (retro_task_t *task, void *userdata) |
typedef void(* retro_task_handler_t) (retro_task_t *task) |
typedef void(* retro_task_queue_msg_t) (const char *msg, unsigned prio, unsigned duration, bool flush) |
typedef bool(* retro_task_retriever_t) (retro_task_t *task, void *data) |
typedef struct retro_task retro_task_t |
typedef struct task_finder_data task_finder_data_t |
typedef struct task_retriever_data task_retriever_data_t |
typedef struct task_retriever_info task_retriever_info_t |
enum task_type |
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.
void task_queue_init | ( | bool | threaded, |
retro_task_queue_msg_t | msg_push | ||
) |
void task_queue_push | ( | retro_task_t * | task | ) |
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 | ||
) |