ATLAS Offline Software
|
Lock object for taking out shared locks. More...
#include <threading.h>
Public Types | |
typedef LOCKABLE | lockable_type |
The underlying object type. More... | |
Public Member Functions | |
strict_shared_lock (lockable_type &obj) | |
Take out a shared lock on obj and remember it. More... | |
strict_shared_lock (const lockable_type &obj) | |
Take out a shared lock on obj and remember it. More... | |
~strict_shared_lock () | |
Release the held lock. More... | |
Private Member Functions | |
strict_shared_lock () | |
strict_shared_lock (strict_shared_lock const &) | |
strict_shared_lock & | operator= (strict_shared_lock const &) |
Private Attributes | |
lockable_type & | m_obj |
The lock being held. More... | |
Lock object for taking out shared locks.
This is like the boost strict_lock
, except that it takes out a shared lock on the underlying object rather than an exclusive one.
Definition at line 179 of file threading.h.
typedef LOCKABLE AthContainers_detail::strict_shared_lock< LOCKABLE >::lockable_type |
The underlying object type.
Definition at line 183 of file threading.h.
|
explicit |
Take out a shared lock on obj
and remember it.
obj | The lockable object. |
|
explicit |
Take out a shared lock on obj
and remember it.
obj | The lockable object. |
AthContainers_detail::strict_shared_lock< LOCKABLE >::~strict_shared_lock | ( | ) |
Release the held lock.
|
private |
|
private |
|
private |
|
private |
The lock being held.
Definition at line 215 of file threading.h.