Multithreaded Programming Guide

Send a Signal to a Thread

thr_kill(3THR)

thr_kill(3THR) sends a signal to a thread. (For POSIX threads, see "pthread_kill(3THR)".)

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