3 types derived from ManualResetEventSlim
mscorlib (2)
system\threading\Tasks\Task.cs (2)
3294
private sealed class SetOnInvokeMres :
ManualResetEventSlim
, ITaskCompletionAction
5223
private sealed class SetOnCountdownMres :
ManualResetEventSlim
, ITaskCompletionAction
System.Core (1)
System\Linq\Parallel\Utils\IntValueEvent.cs (1)
12
internal class IntValueEvent :
ManualResetEventSlim
6 instantiations of ManualResetEventSlim
mscorlib (2)
system\threading\CountdownEvent.cs (1)
72
m_event = new
ManualResetEventSlim
();
system\threading\Tasks\Task.cs (1)
1673
ManualResetEventSlim newMre = new
ManualResetEventSlim
(wasCompleted);
System (2)
sys\system\threading\Barrier.cs (2)
244
m_oddEvent = new
ManualResetEventSlim
(true);
245
m_evenEvent = new
ManualResetEventSlim
(false);
System.Core (1)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (1)
129
m_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)
50
private
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
750
ManualResetEventSlim
mre = obj as
ManualResetEventSlim
;
system\threading\Tasks\Task.cs (5)
260
internal volatile
ManualResetEventSlim
m_completionEvent; // Lazily created if waiting is required.
285
var
mres = m_completionEvent;
1665
internal
ManualResetEventSlim
CompletedEvent
1673
ManualResetEventSlim
newMre = new ManualResetEventSlim(wasCompleted);
1872
var
ev = cp.m_completionEvent;
System (5)
sys\system\threading\Barrier.cs (5)
143
ManualResetEventSlim
m_oddEvent;
146
ManualResetEventSlim
m_evenEvent;
703
ManualResetEventSlim
eventToWaitOn = (sense) ? m_evenEvent : m_oddEvent;
870
private void WaitCurrentPhase(
ManualResetEventSlim
currentPhaseEvent, long observedPhase)
894
private bool DiscontinuousWait(
ManualResetEventSlim
currentPhaseEvent, int totalTimeout, CancellationToken token, long observedPhase)
System.Core (1)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (1)
86
private
ManualResetEventSlim
m_producerEvent;
System.Web (1)
Hosting\AsyncResultBase.cs (1)
20
private
ManualResetEventSlim
_mre; // unlike ManualResetEvent, this creates a kernel object lazily