search for: signalsmutex

Displaying 3 results from an estimated 3 matches for "signalsmutex".

2014 Feb 27
2
[LLVMdev] multithreaded use of llvm::sys::RemoveFileOnSignal
Hi, I am using clang::ToolInvocation class to compile some code in-memory: clang::tooling::ToolInvocation ti ( compilerArgs, new clang::EmitBCAction(), new clang::FileManager(clang::FileSystemOptions()) ); //filename is the name of the source file, e.g. "Somefile.cpp" //sourcecode contains the source of the file ti.mapVirtualFile( filename,
2012 Jun 28
0
[LLVMdev] One problem to discuss
Hello, all: I have a problem want to discus with you, Chris someone should be the right person. In llvm-3.1.src/lib/support/unix/Signals.inc, in SignalHandler, we have: static RETSIGTYPE SignalHandler(int Sig) { ... SignalsMutex.acquire(); RemoveFilesToRemove(); ... } We can also find following code snippet in the same file: void llvm::sys::RunInterruptHandlers() { SignalsMutex.acquire(); RemoveFilesToRemove(); SignalsMutex.release(); } Similarly, there are SetInterruptFunction, RemoveFileOnSignal, DontRemoveF...
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...ess"}, {"_ZN12_GLOBAL__N_1L10separatorsE", "(anonymous namespace)::separators"}, {"_ZN12_GLOBAL__N_1L7successE", "(anonymous namespace)::success"}, {"_ZL20PrettyStackTraceHead", "PrettyStackTraceHead"}, {"_ZL12SignalsMutex", "SignalsMutex"}, {"_ZL13FilesToRemove", "FilesToRemove"}, {"_ZL14CallBacksToRun", "CallBacksToRun"}, {"_ZL17InterruptFunction", "InterruptFunction"}, {"_ZL20NumRegisteredSignals", "NumReg...