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..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

access.h File Reference
#include <ucommon/platform.h>
#include <ucommon/cpr.h>
#include <ucommon/protocols.h>
Include dependency graph for access.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ucommon::ExclusiveProtocol
 
class  ucommon::ExclusiveProtocol::Locking
 
class  ucommon::SharedProtocol
 
class  ucommon::SharedProtocol::Locking
 
class  ucommon::shared_access
 
class  ucommon::autoexclusive< T >
 
class  ucommon::autoshared< T >
 

Namespaces

 ucommon
 

Macros

#define __EXCLUSIVE(x)   exclusive_access __autolock__ = x
 
#define __SHARE(x)   shared_access __autolock__ = x
 

Detailed Description

Locking protocol classes for member function automatic operations. This header covers ucommon access related classes. These are used to provide automatic management of locks and synchronization objects through common virtual base classes which can be used with automatic objects. These classes are related to "protocols" and are used in conjunction with smart pointer/referencing classes. The access interface supports member functions to acquire a lock when entered and automatically release the lock when the member function returns that are used in conjunction with special referencing smart pointers.

Definition in file access.h.

Macro Definition Documentation

◆ __EXCLUSIVE

#define __EXCLUSIVE (   x)    exclusive_access __autolock__ = x

Definition at line 308 of file access.h.

◆ __SHARE

#define __SHARE (   x)    shared_access __autolock__ = x

Definition at line 309 of file access.h.