raise: Send signal to current thread
Change-Id: Ie4318b8ddd01cc2f58f5e07c1d71376953943153
This commit is contained in:
parent
3c56ce497d
commit
56faf66fd7
1 changed files with 1 additions and 1 deletions
|
@ -30,5 +30,5 @@
|
|||
|
||||
int raise(int signum)
|
||||
{
|
||||
return kill(getpid(), signum);
|
||||
return kill(gettid(), signum);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue