mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
parent
0008e9a046
commit
1344e91286
1 changed files with 4 additions and 1 deletions
|
@ -433,11 +433,14 @@ 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…
Add table
Reference in a new issue