A 'sequential' non-locking implementation for an optimistic r/w lock.
More...
#include <ParallelUtil.h>
A 'sequential' non-locking implementation for an optimistic r/w lock.
Definition at line 526 of file ParallelUtil.h.
◆ OptimisticReadWriteLock()
souffle::OptimisticReadWriteLock::OptimisticReadWriteLock |
( |
| ) |
|
|
default |
◆ abort_write()
void souffle::OptimisticReadWriteLock::abort_write |
( |
| ) |
|
|
inline |
◆ end_read()
bool souffle::OptimisticReadWriteLock::end_read |
( |
const Lease & |
| ) |
|
|
inline |
◆ end_write()
void souffle::OptimisticReadWriteLock::end_write |
( |
| ) |
|
|
inline |
◆ is_write_locked()
bool souffle::OptimisticReadWriteLock::is_write_locked |
( |
| ) |
const |
|
inline |
◆ start_read()
Lease souffle::OptimisticReadWriteLock::start_read |
( |
| ) |
|
|
inline |
◆ start_write()
void souffle::OptimisticReadWriteLock::start_write |
( |
| ) |
|
|
inline |
◆ try_start_write()
bool souffle::OptimisticReadWriteLock::try_start_write |
( |
| ) |
|
|
inline |
◆ try_upgrade_to_write()
bool souffle::OptimisticReadWriteLock::try_upgrade_to_write |
( |
const Lease & |
| ) |
|
|
inline |
◆ validate()
bool souffle::OptimisticReadWriteLock::validate |
( |
const Lease & |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: