nuttx/sched/signal
Gregory Nutt 8cca30b44c Signal must be masked when it is delivered to a signal handler
Signal must be masked when it is delivered to a signal handler per:

https://pubs.opengroup.org/onlinepubs/007904875/functions/sigaction.html:

When a signal is caught by a signal-catching function installed by sigaction(), a new signal mask is calculated and installed for the duration of the signal-catching function (or until a call to either sigprocmask() or sigsuspend() is made). This mask is formed by taking the union of the current signal mask and the value of the sa_mask for the signal being delivered [XSI] [Option Start] unless SA_NODEFER or SA_RESETHAND is set, [Option End] and then including the signal being delivered. If and when the user's signal handler returns normally, the original signal mask is restored.

Any action queued for that signal while the signal is masked should be deferred. It should go into the group pending signal list and should not be processed until until the signal is unmasked (which should occur when the signal handler returns).
2023-05-18 01:19:12 +08:00
..
Make.defs sched: Implement tkill/tgkill 2023-01-26 08:11:56 +02:00
sig_action.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_allocpendingsigaction.c
sig_cleanup.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_default.c signal: add SIGSYS 2023-03-28 11:24:35 -06:00
sig_deliver.c Signal must be masked when it is delivered to a signal handler 2023-05-18 01:19:12 +08:00
sig_dispatch.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_findaction.c
sig_initialize.c
sig_kill.c
sig_lowest.c
sig_nanosleep.c
sig_notification.c
sig_pause.c
sig_pending.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_ppoll.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_procmask.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_pselect.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_queue.c
sig_releasependingsigaction.c
sig_releasependingsignal.c
sig_removependingsignal.c
sig_sleep.c
sig_suspend.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_tgkill.c sched: Implement tkill/tgkill 2023-01-26 08:11:56 +02:00
sig_timedwait.c sig_timewait:remove useless assert 2023-05-04 18:04:45 +03:00
sig_unmaskpendingsignal.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_usleep.c
sig_waitinfo.c
signal.h signal/nxsig_pengingset: move nxsig_pendingset to common header 2022-12-28 23:05:58 +08:00