class · System.Threading
CountdownEvent
public class System.Threading.CountdownEvent : System.Any
Set once it has been signaled initialCount times: Wait waits for that.
- Tipo
- class
- Espacio de nombres
- System.Threading
- Ensamblado
- System.Core
- Acceso
- public, final
- Archivo fuente
Threading.ant
Herencia
- Clases base
-
AnyCountdownEvent
Constructores
Propiedades
Métodos
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).
Miembros privados e internos (2)
field left: System.Threading.AtomicI32
#
field zero: System.Threading.ManualResetEvent
#
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
CountdownEvent en Larva HIR, descompilado a partir de su 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
}