UtilsLite
Utilities for C++ programming
Loading...
Searching...
No Matches
Utils::SpinLock Class Reference

#include <ThreadUtils.hxx>

Public Member Functions

 SpinLock ()
 
 SpinLock (SpinLock const &)=delete
 
 ~SpinLock ()=default
 
void wait ()
 
void lock ()
 
bool try_lock ()
 
void unlock ()
 

Constructor & Destructor Documentation

◆ SpinLock() [1/2]

Utils::SpinLock::SpinLock ( )
inline

◆ SpinLock() [2/2]

Utils::SpinLock::SpinLock ( SpinLock const & )
delete

◆ ~SpinLock()

Utils::SpinLock::~SpinLock ( )
default

Member Function Documentation

◆ lock()

void Utils::SpinLock::lock ( )
inline

◆ try_lock()

bool Utils::SpinLock::try_lock ( )
inline

◆ unlock()

void Utils::SpinLock::unlock ( )
inline

◆ wait()

void Utils::SpinLock::wait ( )
inline

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