mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 10:40:01 +01:00
commit
f7db8ff0be
1 file changed
+3
-1
+3
-1
@@ -129,7 +129,9 @@ public:
|
||||
ResetEvent(event_); // necessary?
|
||||
// mtx.lock();
|
||||
#else
|
||||
pthread_mutex_lock(&mtx.native_handle());
|
||||
pthread_cond_wait(&event_, &mtx.native_handle());
|
||||
pthread_mutex_unlock(&mtx.native_handle());
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -139,4 +141,4 @@ private:
|
||||
#else
|
||||
pthread_cond_t event_;
|
||||
#endif
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user