# GetReaderName(AtomicSafetyHandle, int)

> Gets the name of a specified job that reads from an AtomicSafetyHandle.

## Definition

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

```csharp
public static string GetReaderName(AtomicSafetyHandle handle, int readerIndex)
```

### Parameters

**** (\[AtomicSafetyHandle]\(/engine/6000.6/script-reference/unity/collections/lowlevel/unsafe/atomicsafetyhandle)): The AtomicSafetyHandle to check.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index of the reader.

### Returns

| Type                                                           | Description                   |
| -------------------------------------------------------------- | ----------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The debug name of the reader. |

### Remarks

This is a debugging method used to produce better error messages and is not intended to be called from user code.
