Displaying 2 results from an estimated 2 matches for "llvm_is_multithread".
Did you mean:
llvm_is_multithreaded
2020 Apr 12
7
LLVM multithreading support
...c1f01b8b518bdba89aba059ab14175#diff-bb772a7e6d4ebf2b46c6d42c95f40ddf>: (xref https://reviews.llvm.org/D4216 <https://reviews.llvm.org/D4216>). The rationale in the patch doesn’t make sense to me - this mode had nothing to do with the old LLVM global lock, this had to do with whether llvm::llvm_is_multithreaded() returned true or false … which all the locking stuff is guarded on.
Would it make sense to re-enable this, or am I missing something?
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200411/65dbc0...
2014 Jun 07
5
[LLVMdev] Multi-threading and mutexes in LLVM
...er audience, to make sure this is done correctly:
1) Should support multi-threading be a compile-time or runtime parameter in
LLVM?
Currently it is both. It is compile-time through the use of the
define LLVM_ENABLE_THREADS, and it is runtime through the use of functions
llvm_start_multithreaded, llvm_is_multithreaded, etc. I and some others
feel like runtime support for multi-threading could be removed, and it
should be compile-time only. However, I am not aware of all the ways in
which this is being used, so this is where I would like some feedback. The
issues I have with runtime multithreading support ar...