# GetAtomicSafetyHandle<T>(ref NativeList<T>)

> Returns this list's AtomicSafetyHandle.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections.LowLevel.Unsafe](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.ManagedKernelModule

## GetAtomicSafetyHandle\<T>(NativeList\<T>)

```csharp
public static AtomicSafetyHandle GetAtomicSafetyHandle<T>(ref NativeList<T> list) where T : unmanaged
```

### Parameters

**** (\[NativeList\<T>]\(/engine/6000.7/script-reference/unity/collections/nativelist1)): The list.

### Returns

| Type                                                                                                          | Description                             |
| ------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
| [AtomicSafetyHandle](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/atomicsafetyhandle.md) | 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 `ENABLE_UNITY_COLLECTIONS_CHECKS` is defined.
