Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.