AtomicSafetyHandle.CheckDeallocateAndThrow

Declaration

public static void CheckDeallocateAndThrow(Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle);

Parameters

handle The AtomicSafetyHandle to check.

Description

Check if an AtomicSafetyHandle can be deallocated.

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


Did you find this page useful? Please give it a rating: