Utility class for exception-safe locking of read/write locks.
More...
#include <glibmm/thread.h>
Utility class for exception-safe locking of read/write locks.
- Deprecated:
- Use Glib::Threads::RWLock::WriterLock instead.
◆ WriterLock() [1/4]
Glib::RWLock::WriterLock::WriterLock |
( |
RWLock & |
rwlock | ) |
|
|
inlineexplicit |
◆ WriterLock() [2/4]
Glib::RWLock::WriterLock::WriterLock |
( |
RWLock & |
rwlock, |
|
|
NotLock |
|
|
) |
| |
|
inline |
◆ WriterLock() [3/4]
Glib::RWLock::WriterLock::WriterLock |
( |
RWLock & |
rwlock, |
|
|
TryLock |
|
|
) |
| |
|
inline |
◆ WriterLock() [4/4]
◆ ~WriterLock()
Glib::RWLock::WriterLock::~WriterLock |
( |
| ) |
|
|
inline |
◆ acquire()
void Glib::RWLock::WriterLock::acquire |
( |
| ) |
|
|
inline |
◆ locked()
bool Glib::RWLock::WriterLock::locked |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ release()
void Glib::RWLock::WriterLock::release |
( |
| ) |
|
|
inline |
◆ try_acquire()
bool Glib::RWLock::WriterLock::try_acquire |
( |
| ) |
|
|
inline |