thr_kill() sends a signal to a thread.
#include <thread.h> #include <signal.h> int thr_kill(thread_t target_thread, int sig);