Suspends the calling thread until a certain signal arrives or a timeout expires.
fn wait_timeout(set: Sigset, timeout: Time) -> Result<SigInfo, Errno>
| Name | Description |
|---|---|
| set | The set of signals to wait for. |
| timeout | The timeout. |
Returns information about the received signal.
The signals in the set must first be blocked. This function can return prematurely if a signal handler was invoked.