This is Unofficial EPICS BASE Doxygen Site
boost::detail::spinlock_pool< I >::scoped_lock Class Reference

#include "spinlock_pool.hpp"

Public Member Functions

 scoped_lock (void const *pv)
 
 ~scoped_lock ()
 

Detailed Description

template<int I>
class boost::detail::spinlock_pool< I >::scoped_lock

Definition at line 52 of file spinlock_pool.hpp.

Constructor & Destructor Documentation

template<int I>
boost::detail::spinlock_pool< I >::scoped_lock::scoped_lock ( void const *  pv)
inlineexplicit

Definition at line 63 of file spinlock_pool.hpp.

63  : sp_( spinlock_for( pv ) )
64  {
65  sp_.lock();
66  }
Definition: tool_lib.h:67
static spinlock & spinlock_for(void const *pv)
template<int I>
boost::detail::spinlock_pool< I >::scoped_lock::~scoped_lock ( )
inline

Definition at line 68 of file spinlock_pool.hpp.

69  {
70  sp_.unlock();
71  }

The documentation for this class was generated from the following file: