From 8719ecf5ba1448eebabb9ec0069ce4eefbd4956c Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 13 Nov 2024 05:05:45 +0800 Subject: [PATCH] Revert "sched/signal: change pthread_exit to nx_pthread_exit" This reverts commit 651a5e6afafa6de2dd9e9263b54caa4c75b1a0f1. --- sched/signal/sig_default.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sched/signal/sig_default.c b/sched/signal/sig_default.c index b129c60bebf..66c7c8ba968 100644 --- a/sched/signal/sig_default.c +++ b/sched/signal/sig_default.c @@ -30,10 +30,10 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -225,8 +225,6 @@ static void nxsig_abnormal_termination(int signo) group_kill_children(rtcb); #endif - tls_cleanup_popall(tls_get_info()); - #ifndef CONFIG_DISABLE_PTHREAD /* Check if the currently running task is actually a pthread */ @@ -237,7 +235,7 @@ static void nxsig_abnormal_termination(int signo) * REVISIT: This will not work if HAVE_GROUP_MEMBERS is not set. */ - nx_pthread_exit(NULL); + pthread_exit(NULL); } else #endif