nuttx/include/nuttx
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
..
1wire
analog Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
audio Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
binfmt Fixed non-UTF8 characters. 2022-09-28 09:38:55 +08:00
can Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
clk nuttx: unify FAR attribute usage across the code 2022-04-04 21:32:58 +08:00
contactless
crypto include/nuttx/crypto: include sys/types.h insted of stdint.h 2022-05-13 10:48:42 +08:00
drivers Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
eeprom
efuse
fs Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
himem include: himem: Add Apache license to files 2022-04-20 21:05:45 +08:00
i2c Added I2C Slave to RP2040 2022-07-16 01:56:52 +08:00
input input/keyboard: Make each instance could have a different buffer size 2022-03-21 09:03:05 +02:00
ioexpander ioexpander: Fix typos in comments 2022-08-15 10:25:11 +08:00
lcd Framebuffer's callback buffer starts from the area being drawn. 2022-08-13 20:36:45 +08:00
leds Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
lib Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
math
mbox
mm libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
modem libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
motor Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
mtd Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
net Add Cellular link layer support 2022-10-15 18:34:07 +08:00
note
nx Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
power Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
rc
rf
rptun rptun: add ns_match callback to resolve rptun deadlock 2022-07-27 20:36:51 +08:00
sensors sensors/qencoder: add QEIOC_GETINDEX ioctl 2022-09-04 11:08:45 +08:00
serial Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
spi Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
syslog driver/ramlog: set CONFIG_SYSLOG_DEVPATH to /dev/kmsg when enbale ramglog 2022-07-21 23:40:56 +08:00
timers arch_alarm: adjust oneshot/arch_alarm to support tick 2022-10-12 11:55:46 +08:00
usb Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
video vncserver: Correct rfb_keyevent_s definition 2022-07-11 14:11:43 +08:00
wireless Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
.gitignore
addrenv.h UMM: Implement getter for address environment heap start vaddr 2022-04-29 23:13:16 +08:00
allsyms.h
arch.h sched: use tick count for sched timer expiration 2022-10-12 11:55:46 +08:00
ascii.h
atexit.h libc: Implement exit, atexit, on_exit and cxa_exit on the user side 2022-05-25 15:28:43 +08:00
board.h boards/boardctl:common boardctl to read reset cause. 2022-03-30 09:59:10 +03:00
cache.h
can.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
cancelpt.h
clock.h sched: use tick count for sched timer expiration 2022-10-12 11:55:46 +08:00
compiler.h compiler.h: add MSVC(Microsoft Visual C++)-specific definitions 2022-09-26 04:40:34 +08:00
crc8.h libc/crc: Add full suffix to avoid the the penitential symbol collision 2022-08-29 18:06:53 +02:00
crc16.h libc/crc: Add full suffix to avoid the the penitential symbol collision 2022-08-29 18:06:53 +02:00
crc32.h libc/crc: Add full suffix to avoid the the penitential symbol collision 2022-08-29 18:06:53 +02:00
crc64.h libc/crc: Add full suffix to avoid the the penitential symbol collision 2022-08-29 18:06:53 +02:00
elf.h
environ.h
envpath.h
init.h boards: Remove the duplicated prototype of CONFIG_INIT_ENTRYPOINT 2022-10-16 19:02:44 +02:00
ipcc.h stm32wl5: fix unbuffered mode and other possible bugs 2022-08-18 11:46:38 +08:00
irq.h SMP: fix crash when switch to new task which is still running 2022-09-17 17:37:47 +09:00
kmalloc.h kmalloc.h: Add kmm_heapmember for !CONFIG_MM_KERNEL_HEAP case 2022-05-20 21:16:42 +08:00
kthread.h include: Declare nxtask_delete function. 2022-07-14 10:44:26 +03:00
lirc.h
list.h list.h: Add local temp variable to avoid the double evaluation 2022-10-06 08:29:39 +02:00
mmcsd.h
module.h
mqueue.h sched: mqueue wait list optimize 2022-09-28 18:08:37 +08:00
mutex.h Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
nuttx.h
page.h
pgalloc.h
progmem.h progmem: eliminate PROGMEM_ERASESTATE configuration option 2022-03-22 10:01:41 -03:00
pthread.h libc/tls: Make tls_get_info as the pulibc function instead up_tls_info 2022-06-03 23:56:50 +03:00
queue.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
random.h
sched_note.h sched: Optimize sched_note_begin/end 2022-09-27 21:32:35 +08:00
sched.h sched.h: Simplify HAVE_GROUP_MEMBERS logic 2022-10-19 21:32:30 +08:00
scsi.h
sdio.h mmcsd: Add FAR to the pointer argument 2022-05-13 15:41:27 +03:00
semaphore.h sched: semaphore wait list optimize 2022-09-28 18:08:37 +08:00
signal.h
spawn.h
spinlock.h netdev: fix visual studio Compiler Error C2016 2022-08-17 21:38:30 +08:00
streams.h libc/blockstream: add block out stream backend 2022-04-18 19:21:22 +03:00
symtab.h
time.h
tls.h Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
tree.h
userspace.h
vt100.h
wdog.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
wqueue.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
zoneinfo.h