You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2023/03/08 09:13:35 UTC
[nuttx] 02/02: Revert "signal/sig_dispatch: Signal action was not performed if TCB_FLAG_SYSCALL is set"
This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 47ce89f757bd7767124fbe0a88cfc8e76e68c147
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Wed Mar 8 09:04:37 2023 +0200
Revert "signal/sig_dispatch: Signal action was not performed if TCB_FLAG_SYSCALL is set"
This reverts commit 0e4466682888cf32ca661aa04c649a836860a22f.
---
sched/signal/sig_dispatch.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/sched/signal/sig_dispatch.c b/sched/signal/sig_dispatch.c
index 9b926667a6..77d0c5ef71 100644
--- a/sched/signal/sig_dispatch.c
+++ b/sched/signal/sig_dispatch.c
@@ -372,15 +372,6 @@ int nxsig_tcbdispatch(FAR struct tcb_s *stcb, siginfo_t *info)
if (masked == 1)
#endif
{
-#ifdef CONFIG_LIB_SYSCALL
- /* If the thread is in syscall, schedule the sigaction here */
-
- if ((stcb->flags & TCB_FLAG_SYSCALL) != 0)
- {
- nxsig_add_pendingsignal(stcb, info);
- }
-#endif
-
/* Check if the task is waiting for this pending signal. If so, then
* unblock it. This must be performed in a critical section because
* signals can be queued from the interrupt level.