#include <plugin_utils.h>
◆ Shared_writelock()
◆ ~Shared_writelock()
virtual Shared_writelock::~Shared_writelock |
( |
| ) |
|
|
inlinevirtual |
◆ grab_read_lock()
void Shared_writelock::grab_read_lock |
( |
| ) |
|
|
inline |
◆ grab_write_lock()
void Shared_writelock::grab_write_lock |
( |
| ) |
|
|
inline |
◆ release_read_lock()
void Shared_writelock::release_read_lock |
( |
| ) |
|
|
inline |
◆ release_write_lock()
void Shared_writelock::release_write_lock |
( |
| ) |
|
|
inline |
◆ try_grab_read_lock()
int Shared_writelock::try_grab_read_lock |
( |
| ) |
|
|
inline |
Grab a read lock only if there is no write lock acquired.
- Return values
-
0 | read lock acquired |
!=0 | there is a write lock acquired |
◆ try_grab_write_lock()
int Shared_writelock::try_grab_write_lock |
( |
| ) |
|
|
inline |
◆ shared_write_lock
◆ write_lock
◆ write_lock_in_use
bool Shared_writelock::write_lock_in_use |
|
private |
◆ write_lock_protection
The documentation for this class was generated from the following file: