Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CheckDeallocateAndThrow(AtomicSafetyHandle)

Check if an AtomicSafetyHandle can be deallocated.
Read time 1 minuteLast updated 20 days ago

Definition

[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]public static void CheckDeallocateAndThrow(AtomicSafetyHandle handle)

Parameters

Remarks

Throws an exception if the AtomicSafetyHandle has already been destroyed or a job is currently accessing the data.