#include <uncontended_mutex.hh>
|
std::atomic< int > | flag |
|
std::mutex | m |
|
std::condition_variable | cv |
|
Definition at line 47 of file uncontended_mutex.hh.
◆ UncontendedMutex()
gem5::UncontendedMutex::UncontendedMutex |
( |
| ) |
|
|
inline |
◆ lock()
void gem5::UncontendedMutex::lock |
( |
| ) |
|
|
inline |
◆ testAndSet()
bool gem5::UncontendedMutex::testAndSet |
( |
int | expected, |
|
|
int | desired ) |
|
inlineprivate |
◆ unlock()
void gem5::UncontendedMutex::unlock |
( |
| ) |
|
|
inline |
◆ cv
std::condition_variable gem5::UncontendedMutex::cv |
|
private |
◆ flag
std::atomic<int> gem5::UncontendedMutex::flag |
|
private |
std::mutex gem5::UncontendedMutex::m |
|
private |
The documentation for this class was generated from the following file: