incubator-nuttx/sched/pthread
zhangyuan21 9fd30c7f63 sched/pthread: check pthread group and flags before join
Prevent users from using the wrong pid and causing system crash.

Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-01-18 11:57:40 +08:00
..
Make.defs
pthread.h Remove `intr` param from `pthread_mutex_take` 2022-12-08 03:13:44 +08:00
pthread_cancel.c libc/stdio: Flush streams in userspace when process exits 2022-12-22 20:16:11 +08:00
pthread_completejoin.c pthread: fix pthread exit error when set DETACHED 2023-01-17 11:09:36 +08:00
pthread_condbroadcast.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_condclockwait.c Remove `intr` param from `pthread_mutex_take` 2022-12-08 03:13:44 +08:00
pthread_condsignal.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_condwait.c Remove `intr` param from `pthread_mutex_take` 2022-12-08 03:13:44 +08:00
pthread_create.c sched/pthread: Delay pjoininfo allocation time 2022-12-20 10:26:02 +08:00
pthread_detach.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
pthread_exit.c libc/stdio: Flush streams in userspace when process exits 2022-12-22 20:16:11 +08:00
pthread_findjoininfo.c sched/pthread: check pthread group and flags before join 2023-01-18 11:57:40 +08:00
pthread_getaffinity.c
pthread_getschedparam.c sched: Remove "0x" prefix preceding "%p" specifier on format string 2022-06-30 22:08:58 +03:00
pthread_initialize.c Remove `intr` param from `pthread_sem_take` 2022-12-08 03:13:44 +08:00
pthread_join.c sched/pthread: check pthread group and flags before join 2023-01-18 11:57:40 +08:00
pthread_kill.c
pthread_mutex.c Remove `intr` param from `pthread_mutex_take` 2022-12-08 03:13:44 +08:00
pthread_mutexconsistent.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_mutexdestroy.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_mutexinconsistent.c
pthread_mutexinit.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_mutextimedlock.c Remove `intr` param from `pthread_mutex_take` 2022-12-08 03:13:44 +08:00
pthread_mutextrylock.c sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
pthread_mutexunlock.c sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
pthread_release.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
pthread_setaffinity.c
pthread_setschedparam.c sched: Remove "0x" prefix preceding "%p" specifier on format string 2022-06-30 22:08:58 +03:00
pthread_setschedprio.c
pthread_sigmask.c