incubator-nuttx/sched/pthread
qinwei1 8021dfece6 sched/task/task_getpid: getpid should return process id not thread id
Summary:
   implement the right semantics:
1. getpid should return the main thread id
2. gettid should return the current thread id

Refer to:
 https://github.com/apache/incubator-nuttx/issues/2499
 https://github.com/apache/incubator-nuttx/pull/2518

Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2022-11-17 17:58:08 +08:00
..
Make.defs libc: Move pthread_cleanup to user space 2021-05-21 22:46:52 -06:00
pthread.h sched/pthread_create:fix bug,delete data_sem 2022-04-14 01:42:16 +08:00
pthread_cancel.c sched/tls: Wrap up_info_size into tls_info_size 2022-06-08 19:07:33 +09:00
pthread_completejoin.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
pthread_condbroadcast.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_condclockwait.c sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +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/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
pthread_create.c sem:remove sem default protocl 2022-10-22 14:50:48 +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 sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
pthread_findjoininfo.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07: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_initialize.c
pthread_join.c sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
pthread_kill.c
pthread_mutex.c
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 sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +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 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
pthread_sigmask.c