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.

Tipo
class
Espacio de nombres
System.Threading
Ensamblado
System.Core
Acceso
public
Archivo fuente
Threading.ant

Herencia

Clases base
Any ManualResetEvent
Tipos derivados
AutoResetEvent

Constructores

constructor ManualResetEvent(initialState: bool)
#

Propiedades

property IsSet: bool
#

read-only

Métodos

method Set() -> void
#
method Reset() -> void
#
method WaitOne() -> void
#

virtual

method WaitOne(milliseconds: i32) -> bool
#

virtual

Waits at most milliseconds: whether it was set.

method Dispose() -> void
#

Frees what it holds (it must not be used after).

Campos

field mutex: System.Threading.Mutex
#

inherited

field changed: System.Threading.Condition
#

inherited

field set: bool
#

inherited

Miembros heredados (5)

Código fuente

ManualResetEvent en Larva HIR, descompilado a partir de su Larva HIR.

System.Threading.ManualResetEvent.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
}
Esc