mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
AddSignalHandler was not releasing the critical section on win32.
Patch from Gianluigi Tiesi! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
655fd03360
commit
61633368cf
@ -163,6 +163,7 @@ void sys::AddSignalHandler(void (*FnPtr)(void *), void *Cookie) {
|
|||||||
CallBacksToRun = new std::vector<std::pair<void(*)(void*), void*> >();
|
CallBacksToRun = new std::vector<std::pair<void(*)(void*), void*> >();
|
||||||
CallBacksToRun->push_back(std::make_pair(FnPtr, Cookie));
|
CallBacksToRun->push_back(std::make_pair(FnPtr, Cookie));
|
||||||
RegisterHandler();
|
RegisterHandler();
|
||||||
|
LeaveCriticalSection(&CriticalSection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user