CheckDeallocateAndThrow(AtomicSafetyHandle)
Check if an AtomicSafetyHandle can be deallocated.
Read time 1 minuteLast updated 20 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]public static void CheckDeallocateAndThrow(AtomicSafetyHandle handle)
Parameters
The AtomicSafetyHandle to check.
Remarks
Throws an exception if the AtomicSafetyHandle has already been destroyed or a job is currently accessing the data.