mirror of
https://github.com/apache/nuttx.git
synced 2026-10-19 04:43:03 +00:00
group: change pthread_kill to tkill in kernel mode
Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>
This commit is contained in:
parent
abe2f4baa2
commit
34d247fb5f
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ static int group_kill_children_handler(pid_t pid, FAR void *arg)
|
|||
|
||||
if (pid != (pid_t)((uintptr_t)arg))
|
||||
{
|
||||
pthread_kill(pid, SIGTERM);
|
||||
tkill(pid, SIGTERM);
|
||||
}
|
||||
|
||||
return OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue