This is Unofficial EPICS BASE Doxygen Site
boost::detail::spinlock::scoped_lock Class Reference

#include "spinlock_pt.hpp"

Public Member Functions

 scoped_lock (spinlock &sp)
 
 ~scoped_lock ()
 
 scoped_lock (spinlock &sp)
 
 ~scoped_lock ()
 

Detailed Description

Definition at line 51 of file spinlock_pt.hpp.

Constructor & Destructor Documentation

boost::detail::spinlock::scoped_lock::scoped_lock ( spinlock sp)
inlineexplicit

Definition at line 62 of file spinlock_pt.hpp.

62  : sp_( sp )
63  {
64  sp.lock();
65  }
boost::detail::spinlock::scoped_lock::~scoped_lock ( )
inline

Definition at line 67 of file spinlock_pt.hpp.

68  {
69  sp_.unlock();
70  }
boost::detail::spinlock::scoped_lock::scoped_lock ( spinlock sp)
inlineexplicit

Definition at line 70 of file spinlock_sync.hpp.

70  : sp_( sp )
71  {
72  sp.lock();
73  }
boost::detail::spinlock::scoped_lock::~scoped_lock ( )
inline

Definition at line 75 of file spinlock_sync.hpp.

76  {
77  sp_.unlock();
78  }

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