Commit 92d61c22 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

fix typo on non-Linux/Windows

parent b66745e9
...@@ -140,7 +140,7 @@ void binary_semaphore::wake() ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment