#include <oskit/threads/pthread.h> #include <signal.h> int pthread_kill(pthread_t tid, int sig);
int pthread_kill(pthread_t tid, int sig);
Send a signal to a specific thread.
tid The thread to send the signal to. sig The signal to send.
Returns zero on success.
pthread_sigmask