Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::SpinLock Class Reference

Spin Lock. More...

#include <SpinLock.h>

Public Member Functions

void lock ()
 
void unlock ()
 

Private Attributes

std::atomic_bool flag {false}
 

Detailed Description

Spin Lock.

Member Function Documentation

◆ lock()

void SpinLock::lock ( )

References flag.

◆ unlock()

void SpinLock::unlock ( )

References flag.

Member Data Documentation

◆ flag

std::atomic_bool sese::SpinLock::flag {false}
private

Referenced by lock(), and unlock().


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