Thread.cpp refinement

Hide thread mutex
Safe notify() method
Other refactoring
This commit is contained in:
Nekotekina 2016-09-07 01:38:52 +03:00
parent da878c36bd
commit a5a2d43d7c
35 changed files with 532 additions and 591 deletions

View file

@ -377,7 +377,7 @@ namespace rsx
{ ppu_cmd::lle_call, vblank_handler },
});
intr_thread->lock_notify();
intr_thread->notify();
}
continue;
@ -697,7 +697,7 @@ namespace rsx
//void thread::invoke(std::function<bool()> callback)
//{
// if (operator->() == thread_ctrl::get_current())
// if (get() == thread_ctrl::get_current())
// {
// while (true)
// {