pub fn pthread_kill<T>(thread: Pthread, signal: T) -> Result<()>where T: Into<Option<Signal>>,
Send a signal to a thread (see pthread_kill(3)).
pthread_kill(3)
If signal is None, pthread_kill will only preform error checking and won’t send any signal.
signal
None
pthread_kill