UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::FPhysSpinLock Class Reference

#include <Threading.h>

Public Member Functions

 FPhysSpinLock ()
 
void Lock ()
 
void Unlock ()
 

Detailed Description

A non-yielding, recursive spin lock Implements a first-in, first-out lock / mutex that won't yield back to the system. Intended for applications that must wake / resume at the earliest opportunity. Each thread attempting a write gets an atomically controlled counter to wait on so the lock is fair in that the locks will be ordered according to the order Lock was called.

Constructor & Destructor Documentation

◆ FPhysSpinLock()

Chaos::FPhysSpinLock::FPhysSpinLock ( )
inline

Member Function Documentation

◆ Lock()

void Chaos::FPhysSpinLock::Lock ( )
inline

◆ Unlock()

void Chaos::FPhysSpinLock::Unlock ( )
inline

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