incubator-nuttx/sched
zhangyuan21 ff6ba02378 sched/pthread: return ESRCH when thread not found at pthread_detach
https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_detach.html

If an implementation detects that the value specified by the thread argument
to pthread_detach() does not refer to a joinable thread, it is recommended
that the function should fail and report an [EINVAL] error.

If an implementation detects use of a thread ID after the end of its lifetime,
it is recommended that the function should fail and report an [ESRCH] error.

Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-05-12 01:06:23 +08:00
..
addrenv sched/addrenv.c: Implement re-entrancy for addrenv_select() 2023-04-25 14:33:19 +02:00
clock sched: add support for adjtime() interface 2023-04-25 14:37:50 -03:00
environ Replace all sprintf with snprintf 2023-05-08 09:57:01 +02:00
group sched/addrenv.c: Implement re-entrancy for addrenv_select() 2023-04-25 14:33:19 +02:00
init sched: add the CPU bitset to initialize the non-exclusive CPU 2023-05-04 20:30:35 +08:00
irq sched/irq: optimizing IRQMONITOR, move up_perf_convert to irq_procfs 2023-04-25 09:58:43 +08:00
misc assert: show stacks with the sp from regs 2023-05-05 13:40:04 +08:00
module procfs: Add g_ prefix to all procfs_operations 2023-04-22 03:33:50 -04:00
mqueue sched: Fix nxstyle errors 2023-05-11 11:25:58 -03:00
paging sched/paging: add FAR in paging worker 2023-03-26 09:23:50 -06:00
pthread sched/pthread: return ESRCH when thread not found at pthread_detach 2023-05-12 01:06:23 +08:00
sched sched/spawn: remove spawn proxy thread to simplify task/posix_spawn() 2023-04-27 17:35:58 +08:00
semaphore sched/addrenv.c: Implement re-entrancy for addrenv_select() 2023-04-25 14:33:19 +02:00
signal sig_timewait:remove useless assert 2023-05-04 18:04:45 +03:00
task sched: Fix nxstyle errors 2023-05-11 11:25:58 -03:00
timer sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
tls sched/group: fix task info heap-use-after-free 2023-01-11 01:53:59 +08:00
wdog arch/arm64: the arm64 perf interface supports pmu 2023-04-10 16:23:49 -03:00
wqueue sched/wqueue: fix issue about worker can't wake up thread before work_thread running 2023-04-19 02:50:04 +08:00
Kconfig sched: add the CPU bitset to initialize the non-exclusive CPU 2023-05-04 20:30:35 +08:00
Makefile group/group_addrenv: Move address environment from group -> tcb 2023-02-08 02:51:23 +08:00