AtomicSafetyHandle.CheckWriteAndThrow

Declaration

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

Parameters

handle The AtomicSafetyHandle to check.

Description

Check whether the referenced native container can be written to.

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


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