BaseLock Struct Reference

#include <spinlock.h>

Inheritance diagram for BaseLock:

Public Member Functions

 BaseLock ()
 
 ~BaseLock ()
 

Protected Member Functions

void PerformanceMonitorLockAcquired () const
 
void PerformanceMonitorLockReleased () const
 

Protected Attributes

AtomicInt32 _state
 

Constructor & Destructor Documentation

◆ BaseLock()

BaseLock ( )

◆ ~BaseLock()

~BaseLock ( )

Member Function Documentation

◆ 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