[llvm-commits] [llvm] r100003 - /llvm/trunk/lib/System/Win32/Signals.inc
Torok Edwin
edwintorok at gmail.com
Wed Mar 31 05:07:16 PDT 2010
Author: edwin
Date: Wed Mar 31 07:07:16 2010
New Revision: 100003
URL: http://llvm.org/viewvc/llvm-project?rev=100003&view=rev
Log:
AddSignalHandler was not releasing the critical section on win32.
Patch from Gianluigi Tiesi!
Modified:
llvm/trunk/lib/System/Win32/Signals.inc
Modified: llvm/trunk/lib/System/Win32/Signals.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Win32/Signals.inc?rev=100003&r1=100002&r2=100003&view=diff
==============================================================================
--- llvm/trunk/lib/System/Win32/Signals.inc (original)
+++ llvm/trunk/lib/System/Win32/Signals.inc Wed Mar 31 07:07:16 2010
@@ -163,6 +163,7 @@
CallBacksToRun = new std::vector<std::pair<void(*)(void*), void*> >();
CallBacksToRun->push_back(std::make_pair(FnPtr, Cookie));
RegisterHandler();
+ LeaveCriticalSection(&CriticalSection);
}
}
More information about the llvm-commits
mailing list