nuttx-update/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 sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
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 sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sig_initialize.c libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
sig_kill.c signal/sig_kill.c: remove the limitation of kill(0, xx) 2021-03-03 15:03:32 +00:00
sig_lowest.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sig_nanosleep.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
sig_notification.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
sig_pause.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
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 Remove CONFIG_CAN_PASS_STRUCT 2020-04-11 21:19:47 +01:00
sig_releasependingsigaction.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sig_releasependingsignal.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sig_removependingsignal.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sig_sleep.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
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 sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
sig_waitinfo.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
signal.h signal/nxsig_pengingset: move nxsig_pendingset to common header 2022-12-28 23:05:58 +08:00