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

Go to the source code of this file.


class  llvm::sys::SmartRWMutex< mt_only >
 SmartMutex - An R/W 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 is an optimization pass for GlobalISel generic memory operations.


typedef SmartRWMutex< falsellvm::sys::RWMutex
template<bool mt_only>
using llvm::sys::SmartScopedReader = const std::shared_lock< SmartRWMutex< mt_only > >
 ScopedReader - RAII acquisition of a reader lock. More...
typedef SmartScopedReader< falsellvm::sys::ScopedReader
template<bool mt_only>
using llvm::sys::SmartScopedWriter = std::lock_guard< SmartRWMutex< mt_only > >
 ScopedWriter - RAII acquisition of a writer lock. More...
typedef SmartScopedWriter< falsellvm::sys::ScopedWriter