#include <access.h>
An exclusive locking access interface base. This is an abstract class to form objects that will operate under an exclusive lock while being actively referenced by a smart pointer.
- Author
- David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org
Definition at line 122 of file access.h.
◆ ~SharedProtocol()
ucommon::SharedProtocol::~SharedProtocol |
( |
| ) |
|
|
protectedvirtual |
◆ _share()
virtual void ucommon::SharedProtocol::_share |
( |
void |
| ) |
|
|
protectedpure virtual |
◆ _unshare()
virtual void ucommon::SharedProtocol::_unshare |
( |
void |
| ) |
|
|
protectedpure virtual |
◆ exclusive()
void ucommon::SharedProtocol::exclusive |
( |
void |
| ) |
|
|
virtual |
Convert object to an exclusive lock. Many of our shared locking objects such as the "conditional lock" support the ability to switch between shared and exclusive locking modes. This derived protocol member allows one to temporarily assert exclusive locking when tied to such methods.
Definition at line 33 of file access.cpp.
◆ share()
void ucommon::SharedProtocol::share |
( |
void |
| ) |
|
|
virtual |
Share the lock with other referencers. Many of our shared locking objects support the ability to switch between shared and exclusive mode. This derived protocol member allows one to restore the lock to shared mode after it has been made exclusive.
Definition at line 37 of file access.cpp.
The documentation for this class was generated from the following files: