Example #1
0
 // Note: These overloads are simply here to swallow any existing code paths where a DisposeSentinel var was being set to null.
 // Now that we wrap the original managed DisposeSentinel with a struct, we would break these code paths, but instead we
 // construct the null as if it were a string and just set the inner value to null instead to workaround this compatibility issue
 public DisposeSentinel(string o)
 {
     m_DisposeSentinel = null;
 }
Example #2
0
 public static void Create(out AtomicSafetyHandle safety, out DisposeSentinel sentinel, int callSiteStackDepth, Allocator allocator) => DisposeSentinelInternal.Create(out safety, out sentinel, callSiteStackDepth, allocator);
Example #3
0
 public static void Clear(ref DisposeSentinel sentinel) => DisposeSentinelInternal.Clear(ref sentinel);
Example #4
0
 public static void Dispose(ref AtomicSafetyHandle safety, ref DisposeSentinel sentinel) => DisposeSentinelInternal.Dispose(ref safety, ref sentinel);