3 types derived from ManualResetEventSlim
mscorlib (2)
system\threading\Tasks\Task.cs (2)
3294private sealed class SetOnInvokeMres : ManualResetEventSlim, ITaskCompletionAction 5223private sealed class SetOnCountdownMres : ManualResetEventSlim, ITaskCompletionAction
System.Core (1)
System\Linq\Parallel\Utils\IntValueEvent.cs (1)
12internal class IntValueEvent : ManualResetEventSlim
6 instantiations of ManualResetEventSlim
mscorlib (2)
system\threading\CountdownEvent.cs (1)
72m_event = new ManualResetEventSlim();
system\threading\Tasks\Task.cs (1)
1673ManualResetEventSlim newMre = new ManualResetEventSlim(wasCompleted);
System (2)
sys\system\threading\Barrier.cs (2)
244m_oddEvent = new ManualResetEventSlim(true); 245m_evenEvent = new ManualResetEventSlim(false);
System.Core (1)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (1)
129m_producerEvent = new ManualResetEventSlim();
System.Web (1)
Hosting\AsyncResultBase.cs (1)
32_mre = new ManualResetEventSlim();
38 references to ManualResetEventSlim
mscorlib (31)
system\threading\CountdownEvent.cs (1)
50private ManualResetEventSlim m_event; // An event used to manage blocking and signaling.
system\threading\ManualResetEventSlim.cs (25)
44/// All public and protected members of <see cref="ManualResetEventSlim"/> are thread-safe and may be used 46/// must only be used when all other operations on the <see cref="ManualResetEventSlim"/> have 95/// cref="ManualResetEventSlim"/>. 98/// cref="ManualResetEventSlim"/>.</value> 101/// already been created. To simply wait on this <see cref="ManualResetEventSlim"/>, 186/// Initializes a new instance of the <see cref="ManualResetEventSlim"/> 196/// Initializes a new instance of the <see cref="ManualResetEventSlim"/> 209/// Initializes a new instance of the <see cref="ManualResetEventSlim"/> 387/// Unlike most of the members of <see cref="ManualResetEventSlim"/>, <see cref="Reset()"/> is not 415/// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> is set. 430/// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> receives a signal, 450/// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> is set, using a 456/// <returns>true if the <see cref="System.Threading.ManualResetEventSlim"/> was set; otherwise, 476/// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> is set, using a 485/// <returns>true if the <see cref="System.Threading.ManualResetEventSlim"/> was set; otherwise, 507/// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> is set, using a 512/// <returns>true if the <see cref="System.Threading.ManualResetEventSlim"/> was set; otherwise, 525/// Blocks the current thread until the current <see cref="ManualResetEventSlim"/> is set, using a 533/// <returns>true if the <see cref="System.Threading.ManualResetEventSlim"/> was set; otherwise, 691/// Releases all resources used by the current instance of <see cref="ManualResetEventSlim"/>. 694/// Unlike most of the members of <see cref="ManualResetEventSlim"/>, <see cref="Dispose()"/> is not 705/// <see cref="ManualResetEventSlim"/>, and optionally releases the managed resources. 710/// Unlike most of the members of <see cref="ManualResetEventSlim"/>, <see cref="Dispose(Boolean)"/> is not 750ManualResetEventSlim mre = obj as ManualResetEventSlim;
system\threading\Tasks\Task.cs (5)
260internal volatile ManualResetEventSlim m_completionEvent; // Lazily created if waiting is required. 285var mres = m_completionEvent; 1665internal ManualResetEventSlim CompletedEvent 1673ManualResetEventSlim newMre = new ManualResetEventSlim(wasCompleted); 1872var ev = cp.m_completionEvent;
System (5)
sys\system\threading\Barrier.cs (5)
143ManualResetEventSlim m_oddEvent; 146ManualResetEventSlim m_evenEvent; 703ManualResetEventSlim eventToWaitOn = (sense) ? m_evenEvent : m_oddEvent; 870private void WaitCurrentPhase(ManualResetEventSlim currentPhaseEvent, long observedPhase) 894private bool DiscontinuousWait(ManualResetEventSlim currentPhaseEvent, int totalTimeout, CancellationToken token, long observedPhase)
System.Core (1)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (1)
86private ManualResetEventSlim m_producerEvent;
System.Web (1)
Hosting\AsyncResultBase.cs (1)
20private ManualResetEventSlim _mre; // unlike ManualResetEvent, this creates a kernel object lazily