NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CSpinlockGuard Class Reference

Search Toolkit Book for CSpinlockGuard

#include "pubseq_gateway_utils.hpp"
(Private to src/app/pubseq_gateway/server.)

+ Collaboration diagram for CSpinlockGuard:

Public Member Functions

 CSpinlockGuard (atomic< bool > *spinlock)
 
 ~CSpinlockGuard ()
 

Private Attributes

atomic< bool > * m_Spinlock
 

Detailed Description

Definition at line 364 of file pubseq_gateway_utils.hpp.

Constructor & Destructor Documentation

◆ CSpinlockGuard()

CSpinlockGuard::CSpinlockGuard ( atomic< bool > *  spinlock)

Definition at line 1593 of file pubseq_gateway_utils.cpp.

References m_Spinlock.

◆ ~CSpinlockGuard()

CSpinlockGuard::~CSpinlockGuard ( )

Definition at line 1600 of file pubseq_gateway_utils.cpp.

References m_Spinlock.

Member Data Documentation

◆ m_Spinlock

atomic<bool>* CSpinlockGuard::m_Spinlock
private

Definition at line 371 of file pubseq_gateway_utils.hpp.

Referenced by CSpinlockGuard(), and ~CSpinlockGuard().


The documentation for this class was generated from the following files:
Modified on Fri Feb 23 11:42:21 2024 by modify_doxy.py rev. 669887