AtomicSafetyHandle.EnforceAllBufferJobsHaveCompletedAndDisableReadWrite

Cambiar al Manual
public static Unity.Collections.LowLevel.Unsafe.EnforceJobResult EnforceAllBufferJobsHaveCompletedAndDisableReadWrite (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle);

Parámetros

handleSafety handle.

Valor de retorno

EnforceJobResult Result.

Descripción

Waits for all jobs running against this AtomicSafetyHandle to complete and then disables the read and write access on this atomic safety handle.

When read and write acess is disabled the only thing you can do with the atomic safety handle is to dispose it.