2 writes to m_kernelEvent
mscorlib (2)
system\threading\CancellationTokenSource.cs (2)
189
if (Interlocked.CompareExchange(ref
m_kernelEvent
, mre, null) != null)
596
m_kernelEvent
= null; // free for GC.
8 references to m_kernelEvent
mscorlib (8)
system\threading\CancellationTokenSource.cs (8)
184
if (
m_kernelEvent
!= null)
185
return
m_kernelEvent
;
199
m_kernelEvent
.Set();
201
return
m_kernelEvent
;
593
if (
m_kernelEvent
!= null)
595
m_kernelEvent
.Close(); // the critical cleanup to release an OS handle
733
if (
m_kernelEvent
!= null)
734
m_kernelEvent
.Set(); // update the MRE value.