LLVM API Documentation

Threading.cpp File Reference

#include "llvm/System/Threading.h"
#include "llvm/System/Atomic.h"
#include "llvm/System/Mutex.h"
#include "llvm/Config/config.h"
#include <cassert>

Include dependency graph for Threading.cpp:

Go to the source code of this file.

Functions

bool llvm::llvm_start_multithreaded ()
void llvm::llvm_stop_multithreaded ()
bool llvm::llvm_is_multithreaded ()
void llvm::llvm_acquire_global_lock ()
void llvm::llvm_release_global_lock ()

Variables

static bool multithreaded_mode = false
static sys::Mutex * global_lock = 0


Variable Documentation

sys::Mutex* global_lock = 0 [static]

Definition at line 24 of file Threading.cpp.

bool multithreaded_mode = false [static]

Definition at line 22 of file Threading.cpp.