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