mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
commit
bbed836e8f
@ -433,14 +433,11 @@ static void threaded_worker(void *userdata)
|
||||
continue;
|
||||
}
|
||||
|
||||
task_queue_remove(&tasks_running, task);
|
||||
slock_unlock(running_lock);
|
||||
|
||||
task->handler(task);
|
||||
|
||||
slock_lock(running_lock);
|
||||
task_queue_remove(&tasks_running, task);
|
||||
slock_unlock(running_lock);
|
||||
|
||||
/* Update queue */
|
||||
if (!task->finished)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user