nuttx/sched/pthread
zhangyuan21 fc9f87824c sched/pthread: Return ESRCH when the task is in the process of exit.
Resolving the issue with the ltp_interfaces_pthread_join_6_2 test case.

In SMP mode, the pthread may still be in the process of exiting when
pthread_join returns, and calling pthread_join again at this time will
result in an error. The error code returned should be ESRCH.

Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-06-15 10:12:25 -03:00
..
Make.defs
pthread_barrierwait.c
pthread_cancel.c sched/tls: remove PTHREAD_CLEANUP from Kconfig 2023-06-14 12:00:48 +08:00
pthread_completejoin.c sched/pthread: Return ESRCH when the task is in the process of exit. 2023-06-15 10:12:25 -03:00
pthread_condbroadcast.c
pthread_condclockwait.c
pthread_condsignal.c
pthread_condwait.c
pthread_create.c addrenv/kstack: Allocate the kernel stack before initializing tcb 2023-06-09 13:53:27 +08:00
pthread_detach.c sched/pthread: Return ESRCH when the task is in the process of exit. 2023-06-15 10:12:25 -03:00
pthread_exit.c
pthread_findjoininfo.c sched/pthread: Return ESRCH when the task is in the process of exit. 2023-06-15 10:12:25 -03:00
pthread_getaffinity.c
pthread_getschedparam.c
pthread_initialize.c
pthread_join.c sched/pthread: Return ESRCH when the task is in the process of exit. 2023-06-15 10:12:25 -03:00
pthread_mutex.c
pthread_mutexconsistent.c
pthread_mutexdestroy.c
pthread_mutexinconsistent.c
pthread_mutexinit.c
pthread_mutextimedlock.c
pthread_mutextrylock.c
pthread_mutexunlock.c pthread: sched_lock should replace with enter_critical_secion 2023-05-06 23:12:20 +08:00
pthread_release.c
pthread_setaffinity.c
pthread_setschedparam.c
pthread_setschedprio.c
pthread_sigmask.c
pthread.h sched/pthread: Return ESRCH when the task is in the process of exit. 2023-06-15 10:12:25 -03:00