mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Show thread name in assert messagebox caption on Windows. Minor cleanup
This commit is contained in:
1 parent
c45376ddc7
commit
1cf4e83824
2 files changed
+3
-4
No files matched your search
@@ -24,9 +24,7 @@ struct Mailbox {
|
||||
|
||||
T Wait() {
|
||||
std::unique_lock<std::mutex> lock(mutex_);
|
||||
while (!dataReceived_) {
|
||||
condvar_.wait(lock);
|
||||
}
|
||||
condvar_.wait(lock, [&] {return dataReceived_;});
|
||||
return data_;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user