CreateSafetyHandle(AllocatorHandle)
Creates a new AtomicSafetyHandle that is valid until CollectionHelper.DisposeSafetyHandle is called.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public static AtomicSafetyHandle CreateSafetyHandle(AllocatorManager.AllocatorHandle allocator)
Parameters
The AllocatorHandle to use.
Returns
Type | Description |
|---|---|
| AtomicSafetyHandle | Safety handle. |