taco-db  0.1.0
Public Member Functions | Private Attributes | List of all members
taco::SpinLock Class Reference

#include <utils/SpinLock.h>

Public Member Functions

 SpinLock ()
 
void lock () noexcept
 
void unlock () noexcept
 

Private Attributes

std::atomic_bool locked_
 

Constructor & Destructor Documentation

◆ SpinLock()

taco::SpinLock::SpinLock ( )
inline

Member Function Documentation

◆ lock()

void taco::SpinLock::lock ( )
inlinenoexcept

◆ unlock()

void taco::SpinLock::unlock ( )
inlinenoexcept

Member Data Documentation

◆ locked_

std::atomic_bool taco::SpinLock::locked_
private

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