AtomicSafetyHandle.EnforceAllBufferJobsHaveCompletedAndRelease

Declaration

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

Parameters

handle The AtomicSafetyHandle to check.

Returns

EnforceJobResult Whether the job system waited for any jobs to finish.

Description

Waits for all jobs running against an AtomicSafetyHandle to complete and then releases the AtomicSafetyHandle.


Did you find this page useful? Please give it a rating: