LLVM 20.0.0git
|
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Threading.h"
#include <cassert>
#include <mutex>
#include <shared_mutex>
Go to the source code of this file.
Classes | |
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... | |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::sys |
Typedefs | |
typedef SmartRWMutex< false > | llvm::sys::RWMutex |
template<bool mt_only> | |
using | llvm::sys::SmartScopedReader = const std::shared_lock< SmartRWMutex< mt_only > > |
ScopedReader - RAII acquisition of a reader lock. | |
typedef SmartScopedReader< false > | llvm::sys::ScopedReader |
template<bool mt_only> | |
using | llvm::sys::SmartScopedWriter = std::lock_guard< SmartRWMutex< mt_only > > |
ScopedWriter - RAII acquisition of a writer lock. | |
typedef SmartScopedWriter< false > | llvm::sys::ScopedWriter |