AtomicSafetyHandle.CheckReadAndThrow

Declaration

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

Parameters

handle The AtomicSafetyHandle to check.

Description

Check whether the referenced native container can be read from.

Throws an exception if the AtomicSafetyHandle is already destroyed, or a job is currently writing to the data.


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