|
Rebel Fork Framework
|
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. | |
Spinlock mutex.