search for: start_multi_threaded

Displaying 1 result from an estimated 1 matches for "start_multi_threaded".

2014 Feb 27
2
[LLVMdev] multithreaded use of llvm::sys::RemoveFileOnSignal
...in separate threads, with each thread compiling its own source code. However, this does not work because clang::CompilerInstance calls llvm::Sys::RemoveFileOnSignal which in turn calls RegisterHandlers() which is not re-entrant. Is there a way to make RegisterHandlers() re-entrant? I do call llvm::start_multi_threaded() before any of this, hoping that it will make llvm routines thread-safe, but to no avail. Also, is there any other way of doing parallel compilation? thx Vikas. ========= -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/...