Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AtomicSafetyHandle.EnforceAllBufferJobsHaveCompleted

Declaration

public static Unity.Collections.LowLevel.Unsafe.EnforceJobResult EnforceAllBufferJobsHaveCompleted(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 the AtomicSafetyHandle to complete.