pub fn pause()
Available on crate feature
event
only.Expand description
pause()
—Sleep until interrupted by a signal.
The POSIX pause
interface returns an error code, but the only thing
pause
does is sleep until interrupted by a signal. If it were exposed in
the API here it would always return Errno::INTR
, so for simplicity the
return value is omitted.