sched/signal: Correct kill with cancellation

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I450041e9ec297ba4a9028cb5b1af8158e09fc90b
This commit is contained in:
Huang Qi
2021-09-26 23:24:37 +08:00
committed by huangqi3
parent f2e15a47de
commit b897d4a2d6
-7
View File
@@ -194,13 +194,6 @@ static void nxsig_abnormal_termination(int signo)
{
FAR struct tcb_s *rtcb = (FAR struct tcb_s *)this_task();
/* Notify the target if the non-cancelable or deferred cancellation set */
if (nxnotify_cancellation(rtcb))
{
return;
}
/* Careful: In the multi-threaded task, the signal may be handled on a
* child pthread.
*/