Mono.Unix.UnixSignal.WaitOne Method
Blocks the current thread until the curent instance has a non-zero UnixSignal.Count.

Syntax

public override bool WaitOne ()

See Also

UnixSignal.WaitOne(int)

Returns

Returns true when the current instance receives a signal.

Exceptions

TypeReason
ObjectDisposedException The current instance has already been disposed.

Remarks

The caller of this method blocks indefinitely until the UnixSignal.Signum signal is received by the current process and the UnixSignal.Count property is non-zero.

This method is equivalent to calling WaitOne(-1).

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0