Rename push_task_progress

This commit is contained in:
twinaphex 2016-02-09 17:56:36 +01:00
parent 4210ee197b
commit e4d983646d
3 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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)
{