class · System.Threading
CountdownEvent
public class System.Threading.CountdownEvent : System.Any
Set once it has been signaled initialCount times: Wait waits for that.
- Kind
- class
- Namespace
- System.Threading
- Assembly
- System.Core
- Access
- public, final
- Source file
Threading.ant
Inheritance
- Base classes
-
AnyCountdownEvent
Constructors
Properties
Methods
One signal: whether that made it zero.
method AddCount() -> void
#
One more signal to wait for.
method Wait() -> void
#
method Dispose() -> void
#
Frees what it holds (it must not be used after).
Private and internal members (2)
field left: System.Threading.AtomicI32
#
field zero: System.Threading.ManualResetEvent
#
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
CountdownEvent as Larva HIR, decompiled from its Larva HIR.
// Set once it has been signaled `initialCount` times: Wait waits for that.
public class System.Threading.CountdownEvent : System.Any
{
field left: System.Threading.AtomicI32
field zero: System.Threading.ManualResetEvent
constructor CountdownEvent(initialCount: i32)
// One signal: whether that made it zero.
method Signal() -> bool
// One more signal to wait for.
method AddCount() -> void
method Wait() -> void
method Wait(milliseconds: i32) -> bool
// Frees what it holds (it must not be used after).
method Dispose() -> void
property CurrentCount: i32
property IsSet: bool
}