walnux/sched
p-szafonimateusz 0c9d0b3f84 sched/sig_pending: sigpending() should return caller pending signals only
Previously sigpending() returned all pending signals in the group, which is not
POSIX compliant. It should return signals pending only for the caller, so
a signal send with pthread_kill() intended for another thread should not be
returned (it's not pending for a caller).

This fixes the pthread_create.c/test9 test case from
PSE52 Open Group Threads Test Suite.

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
2025-09-30 16:15:49 -04:00
..
addrenv sem_waitirq: Use kmap interface to access the semaphore 2024-12-18 08:57:01 +08:00
clock arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
environ sched/environ: There is no need to use sched_[un]lock 2024-10-11 02:43:11 +08:00
event sched/event: add nxevent_getmask api 2025-09-09 11:07:49 -03:00
group sched: After nxsched_add_readytorun, change first parameter to up_switch_context to this_task() 2025-08-20 10:16:43 +08:00
init sched/init/nx_bringup.c: Add support for CONFIG_INIT_NONE in a flat build 2025-08-31 18:38:36 +08:00
instrument gprof: move gprof function from sched to libbuiltin/libgcc 2024-11-13 02:42:31 +08:00
irq sched/irq: add a check for the interrupt stack in irq_dispatch 2025-09-29 19:12:18 +08:00
misc sched/irq: add a check for the interrupt stack in irq_dispatch 2025-09-29 19:12:18 +08:00
module libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
mqueue sched: After nxsched_add_readytorun, change first parameter to up_switch_context to this_task() 2025-08-20 10:16:43 +08:00
paging sched: After nxsched_add_readytorun, change first parameter to up_switch_context to this_task() 2025-08-20 10:16:43 +08:00
pthread pthread: add pthread_attr_{get|set}guardsize support 2025-08-22 20:50:13 +08:00
sched sched: merge nxsched_suspend/resume_critmon 2025-09-30 23:26:28 +08:00
semaphore sched/semaphore: add support to customize semaphore max allowed value 2025-09-04 09:48:34 +08:00
signal sched/sig_pending: sigpending() should return caller pending signals only 2025-09-30 16:15:49 -04:00
task arch: unify the scheduling information of task_exit 2025-09-25 16:40:23 +08:00
timer sched/wdog: Replace periodcial timer with the wd_start_next. 2025-06-10 11:02:45 -03:00
tls sched/gettid: Move thread ID to TLS 2025-04-08 22:53:10 +08:00
wdog sched/wdog: Remove the wd_start_period. 2025-06-10 11:02:45 -03:00
wqueue sched/wqueue: Fix windows compilation errors. 2025-06-18 13:57:20 +02:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig sched: remove nxsched_suspend/resume_scheduler 2025-09-30 23:26:28 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00