nuttx/sched/pthread
yinshengkai d7f02a8cb6 sched: change pthread_mutex implementation from sem to mutex
Since pthread_mutex is implemented by sem, it is impossible to see in ps who holds the lock and causes the wait.
Replace sem with mutex implementation to solve the above problems

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2024-09-06 09:42:53 +08:00
..
CMakeLists.txt sched/pthread: rename pthread_initialize.c as pthread_sem.c 2024-05-22 19:06:38 +08:00
Make.defs sched/pthread: rename pthread_initialize.c as pthread_sem.c 2024-05-22 19:06:38 +08:00
pthread_barrierwait.c sched/pthread/barrierwait: replace syscall(2) to kernel api 2023-10-25 09:18:55 +08:00
pthread_cancel.c sched/pthread: Don't do cancel when it is already in the exit process 2023-08-03 03:12:36 -07:00
pthread_completejoin.c sched/pthread: detached thread should destroy the join info 2024-04-09 13:46:51 +08:00
pthread_condbroadcast.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_condclockwait.c sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
pthread_condsignal.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_condwait.c sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
pthread_create.c sched/pthread: simplify pthread_create() branch logic 2024-06-07 01:32:42 +08:00
pthread_detach.c sched/pthread: detached thread should destroy the join info 2024-04-09 13:46:51 +08:00
pthread_exit.c sched: fix pthread_exit crash 2023-06-28 15:17:17 +08:00
pthread_findjoininfo.c sched/pthread/join: refactor pthread join to support join task 2024-03-13 18:06:56 +09:00
pthread_getaffinity.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread_getschedparam.c sched: Remove "0x" prefix preceding "%p" specifier on format string 2022-06-30 22:08:58 +03:00
pthread_join.c pthread/join: catch null pexit_value case 2024-05-10 19:42:13 +08:00
pthread_mutex.c sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
pthread_mutexconsistent.c sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
pthread_mutexdestroy.c sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
pthread_mutexinconsistent.c sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
pthread_mutexinit.c sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
pthread_mutextimedlock.c sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
pthread_mutextrylock.c sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
pthread_mutexunlock.c sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
pthread_release.c sched/pthread/join: refactor pthread join to support join task 2024-03-13 18:06:56 +09:00
pthread_sem.c sched/pthread: rename pthread_initialize.c as pthread_sem.c 2024-05-22 19:06:38 +08:00
pthread_setaffinity.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread_setschedparam.c sched: Remove "0x" prefix preceding "%p" specifier on format string 2022-06-30 22:08:58 +03:00
pthread_setschedprio.c Run nxstyle against all .c and .h files modified by this PR. 2020-05-09 14:19:08 -03:00
pthread_sigmask.c ltp: sigprocmask fix 2023-07-31 22:29:31 -07:00
pthread.h sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00