Rebel Fork Framework
Urho3D::SpinLockMutex Class Reference

Spinlock mutex. More...

#include <Urho3D/Core/Mutex.h>

Public Member Functions

void Acquire ()
 Acquire the mutex. Block if already acquired.
 
void Release ()
 Release the mutex.
 

Private Attributes

std::atomic_uint32_t newTicket_ { 0 }
 Next ticket to be served.
 
std::atomic_uint32_t currentTicket_ { 0 }
 Currently processed ticket.
 

Detailed Description

Spinlock mutex.


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