From fe03ab06e5e143fba1afb6f3389beb226583caa9 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 16 Feb 2014 21:47:00 +0000 Subject: (svn r26350) -Fix (r26349): Silly bugs are silly. --- src/thread/thread_os2.cpp | 2 +- src/thread/thread_win32.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thread/thread_os2.cpp b/src/thread/thread_os2.cpp index 56f86275d..a6aa944b6 100644 --- a/src/thread/thread_os2.cpp +++ b/src/thread/thread_os2.cpp @@ -133,7 +133,7 @@ public: this->EndCritical(); DosWaitEventSem(event, SEM_INDEFINITE_WAIT); this->BeginCritical(); - this->recursive_count = this->recursive_count; + this->recursive_count = old_recursive_count; } /* virtual */ void SendSignal() diff --git a/src/thread/thread_win32.cpp b/src/thread/thread_win32.cpp index d002ddb88..6f9172f2f 100644 --- a/src/thread/thread_win32.cpp +++ b/src/thread/thread_win32.cpp @@ -146,7 +146,7 @@ public: this->EndCritical(); WaitForSingleObject(this->event, INFINITE); this->BeginCritical(); - this->recursive_count = this->recursive_count; + this->recursive_count = old_recursive_count; } /* virtual */ void SendSignal() -- cgit v1.2.3-54-g00ecf