GetAtomicSafetyHandle<T>(ref NativeList<T>)
Returns this list's AtomicSafetyHandle.
Read time 1 minuteLast updated 19 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
GetAtomicSafetyHandle<T>(NativeList<T>)
public static AtomicSafetyHandle GetAtomicSafetyHandle<T>(ref NativeList<T> list) where T : unmanaged
Parameters
The list.
Returns
Type | Description |
|---|---|
| AtomicSafetyHandle | The atomic safety handle for this list. |
Remarks
The job safety checks use a native collection's atomic safety handle to assert safety.
This method is only available if the symbol is defined.
ENABLE_UNITY_COLLECTIONS_CHECKS