nuttx/sched/pthread
Gregory Nutt 717bb04cb7 Increase the number of real time signals. Two is not enough.
Refer to issue #8867 for details and rational.

Convert sigset_t to an array type so that more than 32 signals can be supported.

Why not use a uin64_t?
- Using a uin32_t is more flexible if we decide to increase the number of signals beyound 64.
- 64-bit accesses are not atomic, at least not on 32-bit ARMv7-M and similar
- Keeping the base type as uint32_t does not introduce additional overhead due to padding to achieve 64-bit alignment of uin64_t
- Some architectures still supported by NuttX do not support uin64_t
  types,

Increased the number of signals to 64. This matches Linux. This will support all xsignals defined by Linux and also 32 real time signals (also like Linux).

This is is a work in progress; a draft PR that you are encouraged to comment on.
2023-03-27 16:59:04 +03:00
..
Make.defs sched: Implement tkill/tgkill 2023-01-26 08:11:56 +02:00
pthread_cancel.c libc/stdio: Flush streams in userspace when process exits 2022-12-22 20:16:11 +08:00
pthread_completejoin.c pthread: fix pthread exit error when set DETACHED 2023-01-17 11:09:36 +08:00
pthread_condbroadcast.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_condclockwait.c signal: remove unused SIGCONDTIMEDOUT 2023-03-23 17:17:25 -06:00
pthread_condsignal.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_condwait.c sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
pthread_create.c sched/addrenv: Fix system crash when process group has been deleted 2023-02-08 02:51:23 +08:00
pthread_detach.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
pthread_exit.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
pthread_findjoininfo.c sched/pthread: change the wrong type cast 2023-02-13 23:17:29 +08:00
pthread_getaffinity.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread_getschedparam.c sched: Remove "0x" prefix preceding "%p" specifier on format string 2022-06-30 22:08:58 +03:00
pthread_initialize.c Remove intr param from pthread_sem_take 2022-12-08 03:13:44 +08:00
pthread_join.c sched/pthread: change the wrong type cast 2023-02-13 23:17:29 +08:00
pthread_mutex.c Remove intr param from pthread_mutex_take 2022-12-08 03:13:44 +08:00
pthread_mutexconsistent.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_mutexdestroy.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_mutexinconsistent.c
pthread_mutexinit.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_mutextimedlock.c sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
pthread_mutextrylock.c sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
pthread_mutexunlock.c sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
pthread_release.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
pthread_setaffinity.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread_setschedparam.c sched: Remove "0x" prefix preceding "%p" specifier on format string 2022-06-30 22:08:58 +03:00
pthread_setschedprio.c
pthread_sigmask.c
pthread.h Remove intr param from pthread_mutex_take 2022-12-08 03:13:44 +08:00