Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

DisposeSentinel.Create(IntPtr,Allocator,AtomicSafetyHandle,DisposeSentinel,int,DeallocateDelegate)

Parameters

ptrMemory pointer.
labelAllocator.
safetySafety handle.
sentinelResulting sentinel.
callSiteStackDepthCall site stack depth.
deallocateDelegateDeallocate delegate.

Description

Create sentinel.

Sentinel will be null if NativeLeakDetection equals NativeLeakDetectionMode.Disabled.

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