Electroneum
epee::shared_guard Class Reference

#include <winobj.h>

Public Member Functions

 shared_guard (shared_critical_section &ref_sec)
 
 ~shared_guard ()
 

Detailed Description

Definition at line 131 of file winobj.h.

Constructor & Destructor Documentation

◆ shared_guard()

epee::shared_guard::shared_guard ( shared_critical_section ref_sec)
inline

Definition at line 134 of file winobj.h.

134  :m_ref_sec(ref_sec)
135  {
136  m_ref_sec.lock_shared();
137  }
Here is the call graph for this function:

◆ ~shared_guard()

epee::shared_guard::~shared_guard ( )
inline

Definition at line 139 of file winobj.h.

140  {
141  m_ref_sec.unlock_shared();
142  }
Here is the call graph for this function:

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