mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Revert "Locking bug"
This reverts commit b40c1311b6d5379e58a0065b4b294b59e7733f28.
This commit is contained in:
parent
0008e9a046
commit
1344e91286
@ -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…
x
Reference in New Issue
Block a user