# UnsafeList<T>.ParallelWriter

> A parallel writer for an UnsafeList\<T\>.

## Definition

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

```csharp
public struct UnsafeList<T>.ParallelWriter
```

## Remarks

Use [UnsafeList\<T>.AsParallelWriter](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1/asparallelwriter.md) to create a parallel writer for a list.

## Fields

| Value                                                                                                                | Description                 |
| -------------------------------------------------------------------------------------------------------------------- | --------------------------- |
| [ListData](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1/parallelwriter/listdata.md) | The UnsafeList to write to. |

## Properties

| Property                                                                                                   | Description           |
| ---------------------------------------------------------------------------------------------------------- | --------------------- |
| [Ptr](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1/parallelwriter/ptr.md) | The data of the list. |

## Methods

| Method                                                                                                                               | Description                                                  |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------ |
| [AddNoResize](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1/parallelwriter/addnoresize.md)           | Adds an element to the end of the list.                      |
| [AddRangeNoResize](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafelist1/parallelwriter/addrangenoresize.md) | Copies elements from a ReadOnlySpan to the end of this list. |
