This version of Unity is unsupported.

AtomicSafetyHandle.EnforceAllBufferJobsHaveCompletedAndRelease

Declaration

public static Unity.Collections.LowLevel.Unsafe.EnforceJobResult EnforceAllBufferJobsHaveCompletedAndRelease(Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle);

Parameters

handle Safety handle.

Returns

EnforceJobResult A value describing how much work was done by the job system to complete the request.

Description

Waits for all jobs running against this AtomicSafetyHandle to complete and then releases the atomic safety handle.