Get rid of thread blocker

This commit is contained in:
momo5502
2024-11-10 09:16:53 +01:00
parent 980ffd5348
commit 5004857714
4 changed files with 183 additions and 161 deletions

View File

@@ -686,18 +686,6 @@ bool emulator_thread::is_thread_ready(windows_emulator& win_emu)
return false;
}
if (this->thread_blocker)
{
const auto res = this->thread_blocker(win_emu, *this);
if (res)
{
this->thread_blocker = {};
return true;
}
return false;
}
if (this->waiting_for_alert)
{
if (this->alerted)