ucommon
7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
![]() ![]() |
#include <access.h>
Public Member Functions | |
autoshared (T *lock) | |
Private Member Functions | |
__DELETE_DEFAULTS (autoshared) | |
![]() | |
Locking (SharedProtocol *object) | |
Create an instance of an exclusive object reference. More... | |
Locking (const Locking ©) | |
Locking & | operator= (const Locking ©) |
~Locking () | |
Destroy reference to shared locked object, release lock. More... | |
bool | operator! () const |
Test if the reference holds an active lock. More... | |
operator bool () const | |
Test if the reference holds an active lock. More... | |
void | release (void) |
Release a held lock programmatically. More... | |
void | exclusive (void) |
Call exclusive access on referenced objects protocol. More... | |
void | share (void) |
Restore shared access on referenced objects protocol. More... | |
|
inline |
|
private |