LLVM API Documentation
#include "llvm/Support/Threading.h"#include "llvm/Config/config.h"#include "llvm/Support/Atomic.h"#include "llvm/Support/Mutex.h"#include <cassert>#include <pthread.h>
Go to the source code of this file.
Classes | |
| struct | ThreadInfo |
Functions | |
| static void * | ExecuteOnThread_Dispatch (void *Arg) |
Variables | |
| static bool | multithreaded_mode = false |
| static sys::Mutex * | global_lock = 0 |
|
static |
Definition at line 73 of file Threading.cpp.
References ThreadInfo::UserData, and ThreadInfo::UserFn.
Referenced by llvm::llvm_execute_on_thread().
|
static |
Definition at line 24 of file Threading.cpp.
Referenced by llvm::llvm_acquire_global_lock(), llvm::llvm_release_global_lock(), llvm::llvm_start_multithreaded(), and llvm::llvm_stop_multithreaded().
Definition at line 22 of file Threading.cpp.
Referenced by llvm::llvm_acquire_global_lock(), llvm::llvm_is_multithreaded(), llvm::llvm_release_global_lock(), llvm::llvm_start_multithreaded(), and llvm::llvm_stop_multithreaded().