[kernel]SIGNAL节点分配失败应该返回错误

This commit is contained in:
posfilu 2024-04-02 15:05:52 +08:00 committed by Meco Man
parent 1b857df4e0
commit c911ed4875
1 changed files with 1 additions and 0 deletions

View File

@ -651,6 +651,7 @@ int rt_thread_kill(rt_thread_t tid, int sig)
else
{
LOG_E("The allocation of signal info node failed.");
return -RT_EEMPTY;
}
/* deliver signal to this thread */