Displaying 1 result from an estimated 1 matches for "llvm_stop_multithread".
Did you mean:
llvm_stop_multithreaded
2014 Jun 09
2
[LLVMdev] Use of statics and ManagedStatics in LLVM
Based on a recent discussion[1], I started trying to remove the functions
llvm_start_multithreaded() and llvm_stop_multithreaded() from the codebase.
It turns out this is a little bit tricky. Consider the following scenario:
During program initialization, a global static object's constructor
dereferences a ManagedStatic. During dereferencing of the ManagedStatic,
it needs to know whether or not to acquire the globa...