23 #ifndef __LIBRETRO_SDK_TASK_QUEUE_H__ 24 #define __LIBRETRO_SDK_TASK_QUEUE_H__ 56 unsigned prio,
unsigned duration,
bool flush);
Definition: task_queue.h:37
int link(const char *oldpath, const char *newpath)
Definition: compat_ctype.c:438
void task_queue_cancel_task(void *task)
Definition: task_queue.c:657
void task_queue_retriever_info_free(task_retriever_info_t *list)
Definition: task_queue.c:676
bool task_get_cancelled(retro_task_t *task)
Definition: task_queue.c:759
void * task_get_data(retro_task_t *task)
Definition: task_queue.c:748
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
void task_set_progress(retro_task_t *task, int8_t progress)
Definition: task_queue.c:711
void * user_data
Definition: task_queue.h:93
Definition: task_queue.h:42
task_type
Definition: task_queue.h:35
Definition: task_queue.h:123
bool task_queue_find(task_finder_data_t *find_data)
Definition: task_queue.c:584
task_retriever_info_t * list
Definition: task_queue.h:134
void task_set_cancelled(retro_task_t *task, bool cancelled)
Definition: task_queue.c:732
void task_queue_reset(void)
Definition: task_queue.c:649
static int cond(LexState *ls)
Definition: lparser.c:1177
bool cancelled
Definition: task_queue.h:84
void * userdata
Definition: task_queue.h:120
void task_queue_push(retro_task_t *task)
Definition: task_queue.c:612
int8_t task_get_progress(retro_task_t *task)
Definition: task_queue.c:803
retro_task_handler_t handler
Definition: task_queue.h:69
void task_set_finished(retro_task_t *task, bool finished)
Definition: task_queue.c:690
void task_free_title(retro_task_t *task)
Definition: task_queue.c:739
retro_task_callback_t callback
Definition: task_queue.h:72
struct task_retriever_data task_retriever_data_t
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
void task_queue_retrieve(task_retriever_data_t *data)
Definition: task_queue.c:591
void task_set_error(retro_task_t *task, char *error)
Definition: task_queue.c:704
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:6303
typedef bool(RETRO_CALLCONV *retro_replace_image_index_t)(unsigned index
bool task_get_mute(retro_task_t *task)
Definition: task_queue.c:781
Definition: task_queue.h:62
char * task_get_title(retro_task_t *task)
Definition: task_queue.c:814
void * task_queue_retriever_info_next(task_retriever_info_t **link)
Definition: task_queue.c:662
void task_queue_check(void)
Definition: task_queue.c:596
void task_queue_deinit(void)
Definition: task_queue.c:544
retro_task_handler_t handler
Definition: task_queue.h:131
void(* progress_cb)(retro_task_t *)
Definition: task_queue.h:105
struct task_retriever_info task_retriever_info_t
void task_queue_unset_threaded(void)
Definition: task_queue.c:574
Definition: task_queue.h:117
void task_queue_set_threaded(void)
Definition: task_queue.c:569
bool finished
Definition: task_queue.h:80
void(* retro_task_callback_t)(void *task_data, void *user_data, const char *error)
Definition: task_queue.h:47
bool(* retro_task_finder_t)(retro_task_t *task, void *userdata)
Definition: task_queue.h:52
static const unsigned char msg[]
Definition: ccm.c:375
static l_noret error(LoadState *S, const char *why)
Definition: lundump.c:39
char * error
Definition: task_queue.h:100
Definition: task_queue.h:129
bool(* retro_task_condition_fn_t)(void *data)
Definition: task_queue.h:60
Definition: task_queue.h:67
void * state
Definition: task_queue.h:96
void * task_data
Definition: task_queue.h:90
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
struct task_finder_data task_finder_data_t
bool(* retro_task_retriever_t)(retro_task_t *task, void *data)
Definition: task_queue.h:58
retro_task_retriever_t func
Definition: task_queue.h:133
void(* retro_task_queue_msg_t)(const char *msg, unsigned prio, unsigned duration, bool flush)
Definition: task_queue.h:55
struct task_retriever_info * next
Definition: task_queue.h:125
void task_set_mute(retro_task_t *task, bool mute)
Definition: task_queue.c:697
retro_task_t * next
Definition: task_queue.h:114
size_t element_size
Definition: task_queue.h:132
int8_t progress
Definition: task_queue.h:103
void task_queue_init(bool threaded, retro_task_queue_msg_t msg_push)
Definition: task_queue.c:551
void * data
Definition: task_queue.h:126
void task_queue_wait(retro_task_condition_fn_t cond, void *data)
Definition: task_queue.c:644
retro_task_finder_t func
Definition: task_queue.h:119
char * source_file
Definition: task_queue.h:64
retro_task_handler_t cleanup
Definition: task_queue.h:76
enum task_type type
Definition: task_queue.h:111
bool mute
Definition: task_queue.h:87
char * task_get_error(retro_task_t *task)
Definition: task_queue.c:792
char * title
Definition: task_queue.h:109
void task_set_title(retro_task_t *task, char *title)
Definition: task_queue.c:718
signed char int8_t
Definition: stdint.h:121
bool task_get_finished(retro_task_t *task)
Definition: task_queue.c:770
bool task_queue_is_threaded(void)
Definition: task_queue.c:579
void task_set_data(retro_task_t *task, void *data)
Definition: task_queue.c:725
void(* retro_task_handler_t)(retro_task_t *task)
Definition: task_queue.h:50