Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EnforceAllBufferJobsHaveCompletedAndDisableReadWrite(AtomicSafetyHandle)

Waits for all jobs running against an AtomicSafetyHandle to complete and then disables the read and write access on the AtomicSafetyHandle.
Read time 1 minuteLast updated 19 days ago

Definition

public static EnforceJobResult EnforceAllBufferJobsHaveCompletedAndDisableReadWrite(AtomicSafetyHandle handle)

Parameters

The AtomicSafetyHandle to check.

Returns

Type

Description

EnforceJobResultWhether the job system waited for any jobs to finish.

Remarks

When read and write acess is disabled, you can only dispose of the AtomicSafetyHandle.