Electroneum
epee::exclusive_guard Class Reference

#include <winobj.h>

Public Member Functions

 exclusive_guard (shared_critical_section &ref_sec)
 
 ~exclusive_guard ()
 

Detailed Description

Definition at line 149 of file winobj.h.

Constructor & Destructor Documentation

◆ exclusive_guard()

epee::exclusive_guard::exclusive_guard ( shared_critical_section ref_sec)
inline

Definition at line 152 of file winobj.h.

152  :m_ref_sec(ref_sec)
153  {
154  m_ref_sec.lock_exclusive();
155  }
Here is the call graph for this function:

◆ ~exclusive_guard()

epee::exclusive_guard::~exclusive_guard ( )
inline

Definition at line 157 of file winobj.h.

158  {
159  m_ref_sec.unlock_exclusive();
160  }
Here is the call graph for this function:

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