CompleteAll
Ensures that all jobs have completed.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Jobs
- Assembly: UnityEngine.CoreModule
CompleteAll(JobHandle, JobHandle)
Ensures that all jobs have completed.
public static void CompleteAll(ref JobHandle job0, ref JobHandle job1)
Parameters
Remarks
The job system automatically prioritizes all the given jobs and any of its dependencies to run first in the queue, then attempts to execute all the jobs if they aren't executing on the worker threads yet. It completes as soon as all referenced jobs have completed.
CompleteAll(JobHandle, JobHandle, JobHandle)
Ensures that all jobs have completed.
public static void CompleteAll(ref JobHandle job0, ref JobHandle job1, ref JobHandle job2)
Parameters
Remarks
The job system automatically prioritizes all the given jobs and any of its dependencies to run first in the queue, then attempts to execute all the jobs if they aren't executing on the worker threads yet. It completes as soon as all referenced jobs have completed.
CompleteAll(NativeArray<JobHandle>)
Ensures that all jobs have completed.
public static void CompleteAll(NativeArray<JobHandle> jobs)
Parameters
Remarks
The job system automatically prioritizes all the given jobs and any of its dependencies to run first in the queue, then attempts to execute all the jobs if they aren't executing on the worker threads yet. It completes as soon as all referenced jobs have completed.