Pause()
Hint that the current thread should pause. In Burst compiled code this will map to platform specific ways to hint that the current thread should be paused as it is performing a calculation that would benefit from not contending with other threads. Atomic operations in tight loops (like spin-locks)
Read time 1 minuteLast updated 8 hours ago
Definition
- Type: Method
- Namespace: Unity.Burst.Intrinsics
- Assembly: UnityEngine.BurstModule
public static void Pause()