mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
sched/signal: Correct kill with cancellation
Signed-off-by: Huang Qi <huangqi3@xiaomi.com> Change-Id: I450041e9ec297ba4a9028cb5b1af8158e09fc90b
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