Version: 2023.2
LanguageEnglish
  • C#

EnforceJobResult

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The result of requesting to enforce that all buffer jobs on an AtomicSafetyHandle have completed.

Properties

AllJobsAlreadySyncedThe request to enforce that all buffer jobs on the AtomicSafetyHandle are completed did not need to do anything, because all the jobs had already been completed.
DidSyncRunningJobsThe request to enforce that all buffer jobs on the AtomicSafetyHandle are completed, resulted in the job system doing work to complete at least one job.
HandleWasAlreadyDeallocatedThe request to enforce that all buffer jobs on the AtomicSafetyHandle are completed was ignored, because the AtomicSafetyHandle is no longer valid, likely because the associated container has already been deallocated.