mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +00:00
(runloop_data.c) Sleep for 10 milliseconds per data runloop thread
iteration - should fix high CPU usage issues
This commit is contained in:
parent
bd31320612
commit
3fbf105c5e
@ -903,6 +903,8 @@ static void data_thread_loop(void *data)
|
||||
data_runloop_iterate(true, runloop);
|
||||
|
||||
slock_unlock(runloop->lock);
|
||||
|
||||
rarch_sleep(10);
|
||||
}
|
||||
|
||||
RARCH_LOG("[Data Thread]: Stopping data thread.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user