nuttx/sched
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
..
addrenv sched/addrenv.c: Implement re-entrancy for addrenv_select() 2023-04-25 14:33:19 +02:00
clock sched: add support for adjtime() interface 2023-04-25 14:37:50 -03:00
environ Replace all sprintf with snprintf 2023-05-08 09:57:01 +02:00
group sched/addrenv.c: Implement re-entrancy for addrenv_select() 2023-04-25 14:33:19 +02:00
init Indent the include statement by two spaces 2023-05-16 12:34:32 -03:00
irq sched/irq: optimizing IRQMONITOR, move up_perf_convert to irq_procfs 2023-04-25 09:58:43 +08:00
misc assert: show stacks with the sp from regs 2023-05-05 13:40:04 +08:00
module procfs: Add g_ prefix to all procfs_operations 2023-04-22 03:33:50 -04:00
mqueue sched: Fix nxstyle errors 2023-05-11 11:25:58 -03:00
paging sched/paging: add FAR in paging worker 2023-03-26 09:23:50 -06:00
pthread sched/pthread: return ESRCH when thread not found at pthread_detach 2023-05-12 01:06:23 +08:00
sched sched/spawn: remove spawn proxy thread to simplify task/posix_spawn() 2023-04-27 17:35:58 +08:00
semaphore sched/addrenv.c: Implement re-entrancy for addrenv_select() 2023-04-25 14:33:19 +02:00
signal Signal must be masked when it is delivered to a signal handler 2023-05-18 01:19:12 +08:00
task sched: Fix nxstyle errors 2023-05-11 11:25:58 -03:00
timer sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
tls sched/group: fix task info heap-use-after-free 2023-01-11 01:53:59 +08:00
wdog arch/arm64: the arm64 perf interface supports pmu 2023-04-10 16:23:49 -03:00
wqueue sched/wqueue: fix issue about worker can't wake up thread before work_thread running 2023-04-19 02:50:04 +08:00
Kconfig sched: add the CPU bitset to initialize the non-exclusive CPU 2023-05-04 20:30:35 +08:00
Makefile group/group_addrenv: Move address environment from group -> tcb 2023-02-08 02:51:23 +08:00