DisposeSentinel.Dispose

Parameters

safety The AtomicSafetyHandle returned when invoking Create.
sentinel The 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: