summaryrefslogtreecommitdiff
path: root/src/thread/pthread_kill.c
blob: 36e9b6da1f081f1bea5cdbf8ea1d822fa55b2a9c (plain)
1
2
3
4
5
6
#include "pthread_impl.h"

int pthread_kill(pthread_t t, int sig)
{
	return -__syscall(SYS_tgkill, t->pid, t->tid, sig);
}