Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

DisposeSentinel.Dispose

Parameters

safetyThe AtomicSafetyHandle returned when invoking Create.
sentinelThe DisposeSentinel.

Description

Releases the AtomicSafetyHandle and clears the DisposeSentinel.

In case the AtomicSafetyHandle cannot be released, which usually happens either because a Job is accessing the data or because the handle has already been released, an exception is thrown.

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