fix typo on non-Linux/Windows
This commit is contained in:
parent
b66745e9b9
commit
92d61c2229
@ -140,7 +140,7 @@ void binary_semaphore::wake()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
void binary_semaphore::wake()
|
void binary_semaphore::wait()
|
||||||
{
|
{
|
||||||
std::unique_lock<std::mutex> lk(m_mtx);
|
std::unique_lock<std::mutex> lk(m_mtx);
|
||||||
while (!m_signalled)
|
while (!m_signalled)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user