mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Only attempt to wake up thread when we are actually sleeping
This commit is contained in:
parent
d65a445acd
commit
f9d93261fa
@ -360,7 +360,7 @@ void rarch_main_data_msg_queue_push(unsigned type,
|
||||
{
|
||||
if (!g_data_runloop.thread_inited)
|
||||
rarch_main_data_thread_init();
|
||||
else
|
||||
else if (g_data_runloop.thread_sleeping)
|
||||
{
|
||||
slock_lock(g_data_runloop.cond_lock);
|
||||
g_data_runloop.thread_sleeping = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user