nix::sys::pthread

Function pthread_kill

Source
pub fn pthread_kill<T: Into<Option<Signal>>>(
    thread: Pthread,
    signal: T,
) -> Result<()>
Expand description

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.