Blocks the current thread until the curent instance has a non-zero UnixSignal.Count or the timeout expires.
- millisecondsTimeout
- A int containing the maximum number of milliseconds the current thread should block before returning.
- exitContext
- This parameter must be false.
Returns true when the current instance receives a signal, otherwise false is returned if the timeout is exceeded.
Type Reason ArgumentOutOfRangeException millisecondsTimeout is less than -1. InvalidOperationException exitContext is true. ObjectDisposedException The current instance has already been disposed.
The caller of this method blocks for up to millisecondsTimeout for the UnixSignal.Signum signal to be received by the current process and the UnixSignal.Count property to become non-zero.
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0