If a task registers SIGCHLD, uses waitpid(-1) in the handler, and the task also calls waitpid, it will fail to delete the child function Signed-off-by: anjiahao <anjiahao@xiaomi.com>