Function nix::sys::pthread::pthread_kill
pub fn pthread_kill<T: Into<Option<Signal>>>(thread: Pthread, signal: T) -> Result<()>
The portability is definied by:
#[cfg(not(target_os = "redox"))]
Documentation
Send a signal to a thread (see pthread_kill(3)
).
If signal
is None
, pthread_kill
will only preform error checking and
won’t send any signal.