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

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