class · System.Threading
ManualResetEvent
public class System.Threading.ManualResetEvent : System.Any
An event that stays set until Reset: WaitOne returns at once while it is set.
- Kind
- class
- Namespace
- System.Threading
- Assembly
- System.Core
- Access
- public
- Source file
Threading.ant
Inheritance
- Base classes
-
AnyManualResetEvent - Derived types
-
AutoResetEvent
Constructors
Properties
Methods
method Set() -> void
#
method Reset() -> void
#
method WaitOne() -> void
#
Waits at most milliseconds: whether it was set.
method Dispose() -> void
#
Frees what it holds (it must not be used after).
Fields
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
ManualResetEvent as Larva HIR, decompiled from its Larva HIR.
// An event that stays set until Reset: WaitOne returns at once while it is set.
public class System.Threading.ManualResetEvent : System.Any
{
field mutex: System.Threading.Mutex
field changed: System.Threading.Condition
field set: bool
constructor ManualResetEvent(initialState: bool)
method Set() -> void
method Reset() -> void
method WaitOne() -> void
// Waits at most `milliseconds`: whether it was set.
method WaitOne(milliseconds: i32) -> bool
// Frees what it holds (it must not be used after).
method Dispose() -> void
property IsSet: bool
}