mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Rename push_task_progress
This commit is contained in:
parent
4210ee197b
commit
e4d983646d
@ -74,7 +74,7 @@ static void retro_task_internal_gather(void)
|
||||
retro_task_t *task = NULL;
|
||||
while ((task = task_queue_get(&tasks_finished)) != NULL)
|
||||
{
|
||||
push_task_progress(task);
|
||||
task_queue_push_progress(task);
|
||||
|
||||
if (task->callback)
|
||||
task->callback(task->task_data, task->user_data, task->error);
|
||||
@ -111,7 +111,7 @@ static void regular_gather(void)
|
||||
next = task->next;
|
||||
task->handler(task);
|
||||
|
||||
push_task_progress(task);
|
||||
task_queue_push_progress(task);
|
||||
|
||||
if (task->finished)
|
||||
task_queue_put(&tasks_finished, task);
|
||||
@ -188,7 +188,7 @@ static void threaded_gather(void)
|
||||
|
||||
slock_lock(running_lock);
|
||||
for (task = tasks_running.front; task; task = task->next)
|
||||
push_task_progress(task);
|
||||
task_queue_push_progress(task);
|
||||
|
||||
slock_unlock(running_lock);
|
||||
|
||||
|
@ -138,7 +138,7 @@ typedef struct task_finder_data
|
||||
void *userdata;
|
||||
} task_finder_data_t;
|
||||
|
||||
void push_task_progress(retro_task_t *task);
|
||||
void task_queue_push_progress(retro_task_t *task);
|
||||
|
||||
bool task_queue_ctl(enum task_queue_ctl_state state, void *data);
|
||||
|
||||
|
@ -35,7 +35,7 @@ static void task_msg_queue_pushf(unsigned prio, unsigned duration,
|
||||
runloop_msg_queue_push(buf, prio, duration, flush);
|
||||
}
|
||||
|
||||
void push_task_progress(retro_task_t *task)
|
||||
void task_queue_push_progress(retro_task_t *task)
|
||||
{
|
||||
if (task->title)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user