LLVM API Documentation
#include <Mutex.h>
Public Member Functions | |
SmartMutex (bool rec=true) | |
bool | acquire () |
bool | release () |
bool | tryacquire () |
![]() | |
MutexImpl (bool recursive=true) | |
Default Constructor. More... | |
~MutexImpl () | |
Destructor. More... | |
bool | acquire () |
Unconditionally acquire the lock. More... | |
bool | release () |
Unconditionally release the lock. More... | |
bool | tryacquire () |
Try to acquire the lock. More... | |
SmartMutex - A mutex with a compile time constant parameter that indicates whether this mutex should become a no-op when we're not running in multithreaded mode.
|
inlineexplicit |
|
inline |
Definition at line 96 of file Mutex.h.
Referenced by llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::allUsesReplacedWith(), llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::deleted(), llvm::llvm_acquire_global_lock(), and llvm::MutexGuard::MutexGuard().
|
inline |
Definition at line 109 of file Mutex.h.
Referenced by llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::allUsesReplacedWith(), llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::deleted(), llvm::llvm_release_global_lock(), and llvm::MutexGuard::~MutexGuard().
|
inline |