Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetAllowSecondaryVersionWriting(AtomicSafetyHandle, bool)

Sets whether other AtomicSafetyHandles that use a secondary version number can write to the NativeContainer protected by a given AtomicSafetyHandle.
Read time 1 minuteLast updated 10 days ago

Definition

public static void SetAllowSecondaryVersionWriting(AtomicSafetyHandle handle, bool allowWriting)

Parameters

The AtomicSafetyHandle of the NativeContainer.

allowWriting

If true, allows write access to the NativeContainer for AtomicSafetyHandles that use secondary version number. If false, handles that usse a secondary version number only have read access to the NativeContainer.

Remarks