mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
sched/signal: Correct kill with cancellation
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user