EnforceJobResult

enumeration

Description

Enumerates the possible values returned by AtomicSafetyHandle methods that wait for all jobs accessing the native container associated with the handle to finish.

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:

Properties

AllJobsAlreadySyncedIndicates that all jobs were already complete at the time of the wait request.
DidSyncRunningJobsIndicates that the job system waited for at least one job to finish.
HandleWasAlreadyDeallocatedIndicates that the job system didn't wait because the AtomicSafetyHandle was invalid, likely because the associated container had already been deallocated.

Did you find this page useful? Please give it a rating: