[go: up one dir, main page]

Function pthread_kill

Source
pub fn pthread_kill<T>(thread: Pthread, signal: T) -> Result<()>
where T: Into<Option<Signal>>,
Available on crate features pthread and signal only.
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.