LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
Threading.cpp File Reference
#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>
Include dependency graph for Threading.cpp:

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::Mutexglobal_lock = 0
 

Function Documentation

static void* ExecuteOnThread_Dispatch ( void *  Arg)
static

Definition at line 73 of file Threading.cpp.

References ThreadInfo::UserData, and ThreadInfo::UserFn.

Referenced by llvm::llvm_execute_on_thread().

Variable Documentation

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