EnforceAllBufferJobsHaveCompleted(AtomicSafetyHandle)
Waits for all jobs running against the AtomicSafetyHandle to complete.
Read time 1 minuteLast updated 21 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static EnforceJobResult EnforceAllBufferJobsHaveCompleted(AtomicSafetyHandle handle)
Parameters
The AtomicSafetyHandle to check.
Returns
Type | Description |
|---|---|
| EnforceJobResult | Whether the job system waited for any jobs to finish. |