summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_core/src/locks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/locks.cpp b/src/mir_core/src/locks.cpp
index 2a53d0051a..38146b2858 100644
--- a/src/mir_core/src/locks.cpp
+++ b/src/mir_core/src/locks.cpp
@@ -37,7 +37,7 @@ mir_cs::~mir_cs()
void mir_cs::Lock()
{
while (!::TryEnterCriticalSection(&m_cs))
- ::SleepEx(50, TRUE);
+ ::SleepEx(0, TRUE);
}
void mir_cs::Unlock()