LLVM  14.0.0git
Classes | Namespaces | Typedefs
Mutex.h File Reference
#include "llvm/Support/Threading.h"
#include <cassert>
#include <mutex>
Include dependency graph for Mutex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  llvm::sys::SmartMutex< mt_only >
 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. More...


 This file implements support for optimizing divisions by a constant.


typedef SmartMutex< falsellvm::sys::Mutex
 Mutex - A standard, always enforced mutex. More...
template<bool mt_only>
using llvm::sys::SmartScopedLock = std::lock_guard< SmartMutex< mt_only > >
typedef SmartScopedLock< falsellvm::sys::ScopedLock