neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::recursive_spinlock Class Reference

#include <mutex.hpp>

Inheritance diagram for neolib::recursive_spinlock:
neolib::i_lockable neolib::ecs::component_mutex< shared< ecs_data_type_t< Data > > > neolib::ecs::component_mutex< Data >

Public Member Functions

 recursive_spinlock ()
 
 ~recursive_spinlock ()
 
void lock () noexcept final
 
void unlock () noexcept final
 
bool try_lock () noexcept final
 

Detailed Description

Definition at line 112 of file mutex.hpp.

Constructor & Destructor Documentation

◆ recursive_spinlock()

neolib::recursive_spinlock::recursive_spinlock ( )
inline

Definition at line 115 of file mutex.hpp.

◆ ~recursive_spinlock()

neolib::recursive_spinlock::~recursive_spinlock ( )
inline

Definition at line 122 of file mutex.hpp.

Member Function Documentation

◆ lock()

void neolib::recursive_spinlock::lock ( )
inlinefinalvirtualnoexcept

Implements neolib::i_lockable.

Definition at line 127 of file mutex.hpp.

◆ try_lock()

bool neolib::recursive_spinlock::try_lock ( )
inlinefinalvirtualnoexcept

Implements neolib::i_lockable.

Definition at line 185 of file mutex.hpp.

◆ unlock()

void neolib::recursive_spinlock::unlock ( )
inlinefinalvirtualnoexcept

Implements neolib::i_lockable.

Definition at line 177 of file mutex.hpp.


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