AthContainers_detail::strict_shared_lock< LOCKABLE > Class Template Reference

Lock object for taking out shared locks. More...

#include <threading.h>

List of all members.

Public Types

typedef LOCKABLE lockable_type
 The underlying object type.

Public Member Functions

 strict_shared_lock (lockable_type &obj)
 Take out a shared lock on obj and remember it.
 strict_shared_lock (const lockable_type &obj)
 Take out a shared lock on obj and remember it.
 ~strict_shared_lock ()
 Release the held lock.

Detailed Description

template<typename LOCKABLE>
class AthContainers_detail::strict_shared_lock< LOCKABLE >

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.


Constructor & Destructor Documentation

template<typename LOCKABLE >
AthContainers_detail::strict_shared_lock< LOCKABLE >::strict_shared_lock ( lockable_type obj  )  [inline, explicit]

Take out a shared lock on obj and remember it.

Parameters:
obj The lockable object.
template<typename LOCKABLE >
AthContainers_detail::strict_shared_lock< LOCKABLE >::strict_shared_lock ( const lockable_type obj  )  [inline, explicit]

Take out a shared lock on obj and remember it.

Parameters:
obj The lockable object.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1