AtomicSafetyHandle.CheckReadAndThrow

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

Parameters

handleSafety handle.

Description 描述

Checks if the handle can be read from. Throws an exception if already destroyed or a job is currently writing to the data.