C# Class Recognos.Core.ResetEvent

A wait handle like struct witch combines an AutoResetEvent and a ManualResetEvent
Inheritance: IDisposable
Afficher le fichier Open project: Recognos/Recognos.Core

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Reset ( ) : void

Reset the event to the non-signaled state

ResetEvent ( ) : System

Initializes a new instance of the ResetEvent class.

ResetEvent ( bool initialState ) : System

Initializes a new instance of the ResetEvent class.

Wait ( ) : void

Waits for a signal

WakeAll ( ) : void

Wake all waiting threads. This method does not reset the event. The Reset method must be called to reset the event.

WakeOne ( ) : void

Wake one waiting thread

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Reset() public méthode

Reset the event to the non-signaled state
public Reset ( ) : void
Résultat void

ResetEvent() public méthode

Initializes a new instance of the ResetEvent class.
public ResetEvent ( ) : System
Résultat System

ResetEvent() public méthode

Initializes a new instance of the ResetEvent class.
public ResetEvent ( bool initialState ) : System
initialState bool The initial state of the event.
Résultat System

Wait() public méthode

Waits for a signal
public Wait ( ) : void
Résultat void

WakeAll() public méthode

Wake all waiting threads. This method does not reset the event. The Reset method must be called to reset the event.
public WakeAll ( ) : void
Résultat void

WakeOne() public méthode

Wake one waiting thread
public WakeOne ( ) : void
Résultat void