group: change pthread_kill to tkill in kernel mode

Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>
This commit is contained in:
zhangyuan29 2024-08-14 12:17:17 +08:00 • committed by Xiang Xiao
parent abe2f4baa2
commit 34d247fb5f

View file

@ -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;