Utility class for exception-safe locking of read/write locks.
More...
#include <glibmm/threads.h>
Utility class for exception-safe locking of read/write locks.
-
Deprecated:
-
Please use
std::lock_guard
or
std::unique_lock
instead, with std::shared_timed_mutex.
Glib::Threads::RWLock::ReaderLock::ReaderLock
|
(
|
RWLock
&
|
rwlock
|
)
|
|
|
inline
explicit
|
Glib::Threads::RWLock::ReaderLock::ReaderLock
|
(
|
RWLock
&
|
rwlock
,
|
|
|
NotLock
|
|
|
)
|
|
|
|
inline
|
Glib::Threads::RWLock::ReaderLock::ReaderLock
|
(
|
RWLock
&
|
rwlock
,
|
|
|
TryLock
|
|
|
)
|
|
|
|
inline
|
Glib::Threads::RWLock::ReaderLock::~ReaderLock
|
(
|
|
)
|
|
|
inline
|
void Glib::Threads::RWLock::ReaderLock::acquire
|
(
|
|
)
|
|
|
inline
|
bool Glib::Threads::RWLock::ReaderLock::locked
|
(
|
|
)
|
const
|
|
inline
|
void Glib::Threads::RWLock::ReaderLock::release
|
(
|
|
)
|
|
|
inline
|
bool Glib::Threads::RWLock::ReaderLock::try_acquire
|
(
|
|
)
|
|
|
inline
|