Electroneum
Loading...
Searching...
No Matches
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 }

◆ ~exclusive_guard()

epee::exclusive_guard::~exclusive_guard ( )
inline

Definition at line 157 of file winobj.h.

158 {
159 m_ref_sec.unlock_exclusive();
160 }

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/contrib/epee/include/winobj.h