mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
[kernel]SIGNAL节点分配失败应该返回错误
This commit is contained in:
1 parent
5c593e6789
commit
e2541ef9e9
1 file changed
+1
@@ -647,6 +647,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 */
|
||||
|
||||
Reference in new issue
Block a user