Version: 2023.2

返回

AtomicSafetyHandle The newly created AtomicSafetyHandle.

描述

Creates a new AtomicSafetyHandle.

If the memory associated with this container is being allocated using Allocator.Temp, then use AtomicSafetyHandle.GetTempMemoryHandle instead of this method.

Additional resources: AtomicSafetyHandle.Release.