EnforceAllBufferJobsHaveCompletedAndRelease(AtomicSafetyHandle)
Waits for all jobs running against an AtomicSafetyHandle to complete and then releases the AtomicSafetyHandle.
읽는 시간 1분최근 업데이트: 2달 전
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. |