BaseLock Struct Reference

#include <spinlock.h>

Inheritance diagram for BaseLock:

Public Member Functions

 BaseLock ()
 
 ~BaseLock ()
 

Protected Member Functions

void PerformanceMonitorSpin () const
 
void PerformanceMonitorLockAcquired () const
 
void PerformanceMonitorLockReleased () const
 

Protected Attributes

AtomicInt32 _state
 

Constructor & Destructor Documentation

◆ BaseLock()

BaseLock ( )

◆ ~BaseLock()

~BaseLock ( )

Member Function Documentation

◆ PerformanceMonitorSpin()

void PerformanceMonitorSpin ( ) const
protected

Notifies a profiler of a spin loop.

◆ PerformanceMonitorLockAcquired()

void PerformanceMonitorLockAcquired ( ) const
protected

Notifies a profiler of an acquired lock.

◆ PerformanceMonitorLockReleased()

void PerformanceMonitorLockReleased ( ) const
protected

Notifies a profiler of the unlock.

Member Data Documentation

◆ _state

AtomicInt32 _state
protected