nuttx/sched
chao an 09e5dca965 sched/pthread: detached thread should destroy the join info
In order to ensure the detached thread obtain the correct return
value from pthread_join()/pthread_cancel(), the detached thread
will create joininfo to save the detached status after thread
destroyed.  If there are too many of detached threads in the
process group, the joininfo will consume too much memory.
This is not friendly to embedded MCU devices.
This commit keep the semantics as #11898 was introduced,
will no longer save joininfo for detached threads to avoid wasting memory.

Signed-off-by: chao an <anchao@lixiang.com>
2024-04-09 13:46:51 +08:00
..
addrenv
clock
environ sched/environ: Improve performance of set/unset environment 2024-04-03 00:10:56 +08:00
group sched/group/group_killchildren.c: Force-cancel children if parent is force-cancelled 2024-03-20 18:03:15 -03:00
init sched/mqueue: merge System-V message queue initialize into posix 2024-03-26 17:32:11 +01:00
instrument
irq sched/irq: spinlock should not depends on SMP 2024-03-26 15:21:52 +08:00
misc sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
module
mqueue sched/mqueue: merge System-V message queue initialize into posix 2024-03-26 17:32:11 +01:00
paging sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
pthread sched/pthread: detached thread should destroy the join info 2024-04-09 13:46:51 +08:00
sched SMP: Fix returning uninitialized variable in nxsched_add_readytorun() 2024-04-03 22:30:45 +09:00
semaphore shced:sem: replace mutex with spinlock 2024-03-19 18:06:12 +08:00
signal sched/signal: add sanity check for siginfo 2024-03-26 20:55:04 +08:00
task sched: replace some global variables to macro 2024-03-21 18:51:25 +08:00
timer
tls stdio/file: unify group file list to common single queue 2024-03-18 19:32:49 +08:00
wdog
wqueue sched/wqueue: replace some global variables to macro 2024-03-21 11:22:41 +09:00
CMakeLists.txt
Kconfig
Makefile