CheckWriteAndThrow(AtomicSafetyHandle)
Check whether the referenced native container can be written to.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]public static void CheckWriteAndThrow(AtomicSafetyHandle handle)
Parameters
The AtomicSafetyHandle to check.
Remarks
Throws the exception if the is already destroyed or a job is currently reading or writing to the data.
InvalidOperationExceptionAtomicSafetyHandle