ドキュメント

Unity Engine

Unity Engine

Release(AtomicSafetyHandle)

Releases a previously created AtomicSafetyHandle.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static void Release(AtomicSafetyHandle handle)

Parameters

The AtomicSafetyHandle to release.

Remarks

After this call, this AtomicSafetyHandle and copies of it are no longer valid. AtomicSafetyHandle.IsHandleValid returns false.
You must call AtomicSafetyHandle.CheckDeallocateAndThrow before calling Release. Don't call this method for the handle returned by AtomicSafetyHandle.GetTempMemoryHandle or AtomicSafetyHandle.GetTempUnsafePtrSliceHandle, because the lifetime of those handles is automatically managed by the engine.