Searched refs:multithreaded_mode (Results 1 – 1 of 1) sorted by relevance
22 static bool multithreaded_mode = false; variable28 assert(!multithreaded_mode && "Already multithreaded!"); in llvm_start_multithreaded()29 multithreaded_mode = true; in llvm_start_multithreaded()43 assert(multithreaded_mode && "Not currently multithreaded!"); in llvm_stop_multithreaded()49 multithreaded_mode = false; in llvm_stop_multithreaded()55 return multithreaded_mode; in llvm_is_multithreaded()59 if (multithreaded_mode) global_lock->acquire(); in llvm_acquire_global_lock()63 if (multithreaded_mode) global_lock->release(); in llvm_release_global_lock()