Fix most of "[x] thread is too sleepy" at Emu.Stop() (#9813)

* Fixes some thread sleep/wait calls
This commit is contained in:
Eladash 2021-02-21 15:43:02 +02:00 committed by GitHub
parent a47bda026b
commit eb0d006168
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 21 additions and 17 deletions

View file

@ -437,7 +437,7 @@ void cpu_thread::operator()()
}
// Can we have a little race, right? First thread is started concurrently with g_fxo->init()
std::this_thread::sleep_for(1ms);
thread_ctrl::wait_for(1000);
}
switch (id_type())