glibmm: Glib::RWLock Class Reference
#include <glibmm/thread.h>
Inheritance diagram for Glib::RWLock:

Classes |
|
class | ReaderLock |
Utility class for exception-safe locking of read/write locks.
More...
|
|
class | WriterLock |
Utility class for exception-safe locking of read/write locks.
More...
|
|
Public Member Functions |
|
RWLock () | |
RWLock (const RWLock &)=delete | |
RWLock & | operator= (const RWLock &)=delete |
~RWLock () | |
![]() |
|
void | reader_lock () |
bool | reader_trylock () |
void | reader_unlock () |
void | writer_lock () |
bool | writer_trylock () |
void | writer_unlock () |
operator RWLock& () | |
GStaticRWLock* | gobj () |
Additional Inherited Members |
|
![]() |
|
#define | GLIBMM_STATIC_RW_LOCK_INIT { G_STATIC_RW_LOCK_INIT } |
Initializer macro for
Glib::StaticRWLock
.
More...
|
|
Detailed Description
- Deprecated:
- Use Glib::Threads::RWLock instead.
Constructor & Destructor Documentation
Glib::RWLock::RWLock | ( | ) |
|
delete |
Glib::RWLock::~RWLock | ( | ) |