mirror of
https://github.com/apache/nuttx.git
synced 2026-10-23 06:48:44 +00:00
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:
parent
7dcd57aa4a
commit
cbdd590c82
10 changed files with 11 additions and 111 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue