raise: Send signal to current thread

Change-Id: Ie4318b8ddd01cc2f58f5e07c1d71376953943153
This commit is contained in:
Colin Cross 2011-01-21 11:37:56 -08:00
parent 3c56ce497d
commit 56faf66fd7

View file

@ -30,5 +30,5 @@
int raise(int signum)
{
return kill(getpid(), signum);
return kill(gettid(), signum);
}