Util: Fix MutexTryLock on Windows
Jeffrey Pfau jeffrey@endrift.com
Fri, 22 Jan 2016 22:43:51 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/windows/threading.h
→
src/platform/windows/threading.h
@@ -34,7 +34,7 @@ }
static inline int MutexTryLock(Mutex* mutex) { if (TryEnterCriticalSection(mutex)) { - return GetLastError(); + return 0; } return 1; }