From e2541ef9e9df28b250bcd6d9ea3c50f07b644bba Mon Sep 17 00:00:00 2001 From: posfilu Date: Tue, 2 Apr 2024 15:05:52 +0800 Subject: [PATCH] =?UTF-8?q?[kernel]SIGNAL=E8=8A=82=E7=82=B9=E5=88=86?= =?UTF-8?q?=E9=85=8D=E5=A4=B1=E8=B4=A5=E5=BA=94=E8=AF=A5=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/signal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/signal.c b/src/signal.c index 77379b1a31..266726af5b 100644 --- a/src/signal.c +++ b/src/signal.c @@ -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 */