SpinLock Class Reference

#include <spinlock.hpp>

Public Member Functions

 SpinLock ()
 
bool trylock ()
 
void lock ()
 
void unlock ()
 

Detailed Description

Definition at line 6 of file spinlock.hpp.

Constructor & Destructor Documentation

◆ SpinLock()

SpinLock::SpinLock ( )
inline

Definition at line 11 of file spinlock.hpp.

Member Function Documentation

◆ lock()

void SpinLock::lock ( )
inline

Definition at line 15 of file spinlock.hpp.

◆ trylock()

bool SpinLock::trylock ( )
inline

Definition at line 13 of file spinlock.hpp.

◆ unlock()

void SpinLock::unlock ( )
inline

Definition at line 21 of file spinlock.hpp.


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