Searched refs:multithreaded_mode (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Support/
H A DThreading.cpp22 static bool multithreaded_mode = false; variable
28 assert(!multithreaded_mode && "Already multithreaded!");
29 multithreaded_mode = true;
43 assert(multithreaded_mode && "Not currently multithreaded!");
49 multithreaded_mode = false;
55 return multithreaded_mode;
59 if (multithreaded_mode) global_lock->acquire();
63 if (multithreaded_mode) global_lock->release();

Completed in 42 milliseconds