Revert "include/nuttx/sched.h: Add storage for a previous signal mask. arch/: In all syscall implementations, block all signals before dispatching a system call; resotre signal mask when the system call returns."

Using the sigprocmask() for this purpose has too many side-effects.

This reverts commit 344f7bc9f6.
This commit is contained in:
Gregory Nutt
2019-11-28 11:57:54 -06:00
parent 7dcd57aa4a
commit cbdd590c82
10 changed files with 11 additions and 111 deletions
+1 -4
View File
@@ -675,14 +675,11 @@ struct tcb_s
/* POSIX Semaphore Control Fields *********************************************/
FAR sem_t *waitsem; /* Semaphore ID waiting on */
sem_t *waitsem; /* Semaphore ID waiting on */
/* POSIX Signal Control Fields ************************************************/
sigset_t sigprocmask; /* Signals that are blocked */
#ifdef CONFIG_LIB_SYSCALL
sigset_t sigoldmask; /* Signals previously blocked */
#endif
sigset_t sigwaitmask; /* Waiting for pending signals */
sq_queue_t sigpendactionq; /* List of pending signal actions */
sq_queue_t sigpostedq; /* List of posted signals */