UseSecondaryVersion(ref AtomicSafetyHandle)
Switches the AtomicSafetyHandle to the secondary version number.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
UseSecondaryVersion(AtomicSafetyHandle)
public static void UseSecondaryVersion(ref AtomicSafetyHandle handle)
Parameters
The AtomicSafetyHandle to switch.
Remarks
For a conceptual overview of container version numbers, refer to Copying NativeContainer structures.