EnforceJobResult
Enumerates the possible values returned by AtomicSafetyHandle methods that wait for all jobs accessing the native container associated with the handle to finish.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Enum
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public enum EnforceJobResult
Remarks
The members of this enum describe whether the job system had to wait for any jobs to finish.
The following methods use this enum as a return type:
Fields
Value | Description |
|---|---|
| AllJobsAlreadySynced | Indicates that all jobs were already complete at the time of the wait request. |
| DidSyncRunningJobs | Indicates that the job system waited for at least one job to finish. |
| HandleWasAlreadyDeallocated | Indicates that the job system didn't wait because the AtomicSafetyHandle was invalid, likely because the associated container had already been deallocated. |