mirror of
https://github.com/apache/nuttx.git
synced 2026-06-09 02:44:53 +08: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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user