nuttx/include
YAMAMOTO Takashi 8a972817e0 sched.h: Simplify HAVE_GROUP_MEMBERS logic
After the retirement of CONFIG_SCHED_EXIT_KILL_CHILDREN, [1]
the behavior is now effectively controlled by
CONFIG_SCHED_CHILD_STATUS, which is IMO confusing.
(It was even surprising me.)

This commit solves it by making HAVE_GROUP_MEMBERS
a synonym of !CONFIG_DISABLE_PTHREAD. I guess this change aligns
the intention of the CONFIG_SCHED_EXIT_KILL_CHILDREN retirement.
That is, always tries to be similar to the standard behavior.

Another option would be to revive CONFIG_SCHED_EXIT_KILL_CHILDREN
and make the HAVE_GROUP_MEMBERS logic aware of it.
It might be a good idea if we want a finer-grained control of
code to build. (One can argue his application uses pthread
but does never _exit. In that case, it might be a waste to maintain
group membership. I suspect it might not be too rare in embedded
world.)

[1] commit 6982eb35fe
2022-10-19 21:32:30 +08:00
..
arpa Net thread-safe ntoa functions 2022-08-02 21:04:19 +08:00
cxx libc/wchar: remove unnecessary config 2022-07-27 00:36:49 +08:00
net Add Cellular link layer support 2022-10-15 18:34:07 +08:00
netinet net: Add IN6_IS_ADDR_LINKLOCAL macro 2022-09-21 18:28:40 +08:00
netpacket netpacket/sockaddr_ll: complete the members of sockaddr_ll 2022-06-03 13:04:09 +08:00
nuttx sched.h: Simplify HAVE_GROUP_MEMBERS logic 2022-10-19 21:32:30 +08:00
ssp
sys Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
.gitignore Add Embedded Template Library (ETL) support 2022-08-05 09:38:48 +08:00
aio.h Change dpends on SCHED_[L|H]PWORK to SCHED_WORKQUEUE 2022-05-28 18:41:51 +03:00
alloca.h
assert.h assert: static_assert is not support in c standard C89,C99. 2022-04-21 23:11:21 +08:00
byteswap.h
ctype.h
debug.h libc: add lib_dump utils 2022-08-24 16:58:10 +08:00
dirent.h Implement fdopendir 2022-10-19 21:20:35 +08:00
dlfcn.h
dsp.h libdsp: initialize flux_link in params, remove flux_link from pmsm_phy_params 2022-02-20 21:58:10 +08:00
dspb16.h libdsp: port lib_observer.c to b16 2022-02-20 21:58:10 +08:00
elf32.h
elf64.h
elf.h
endian.h include:endian.h add openbsd style 2022-09-05 10:39:36 -03:00
err.h libc/err: Add _func suffix to avoid the the penitential symbol collision 2022-08-08 07:39:59 -04:00
errno.h
execinfo.h
fcntl.h libc: Implement memfd on top of tmpfs 2022-08-09 22:13:09 +03:00
fixedmath.h
fnmatch.h
ftw.h
getopt.h
glob.h
grp.h
hex2bin.h
ifaddrs.h
inttypes.h
iso646.h
langinfo.h
libgen.h
libintl.h
limits.h libc/wchar: support wchar 2022-07-27 00:36:49 +08:00
locale.h
lzf.h
malloc.h mm/mm_heap: change CONFIG_MM_BACKTRACE to int type 2022-07-26 23:45:31 +08:00
mqueue.h
netdb.h
nl_types.h
nxflat.h
poll.h
pthread.h
pty.h
pwd.h
resolv.h Add dn resolution function 2022-03-17 09:37:15 +02:00
sched.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
semaphore.h Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
signal.h signal: add define of SIGHUP/SIGTTIN 2022-06-03 12:50:14 +08:00
spawn.h sched/spawn: Add the dummy task_spawnattr_xxxstackyyy in the kernel mode 2022-10-16 19:13:42 +02:00
stdbool.h libc: Remove C99_BOOL8 from libs/libxx/Kconfig 2022-05-05 16:23:32 -03:00
stddef.h
stdint.h include/stdint.h: add sig_atomic_t limits 2022-10-02 22:30:54 +08:00
stdio.h
stdlib.h libc/wchar: support wchar 2022-07-27 00:36:49 +08:00
stdnoreturn.h
string.h libc:add timingsafe_bcmp to libc 2022-09-05 22:27:05 +08:00
strings.h Remove the unneeded void cast 2022-04-17 23:32:05 +03:00
syscall.h arch: Remove SYS_RESERVED from Kconfg 2022-02-27 22:54:13 +08:00
syslog.h
termios.h
threads.h include/threads.h: return values should be integer type to prevent compiler warnings 2022-10-02 22:30:29 +08:00
time.h libc/time: rearrange itimerspec struct elements 2022-06-03 13:04:25 +08:00
unistd.h fs/dir: support fchdir and dirfd 2022-08-09 23:30:01 +08:00
utime.h
uuid.h
wchar.h arch: Define WCHAR_[MIN|MAX] in arch/include/limits.h 2022-06-03 22:25:49 +03:00
wctype.h libc: Remove the unnecessary include from wchar and wctype 2022-07-27 10:55:37 +03:00