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
pthread_cancel.c
pthread_completejoin.c
pthread_condbroadcast.c
pthread_condclockwait.c
pthread_condsignal.c
pthread_condwait.c
pthread_create.c
pthread_detach.c
pthread_exit.c
pthread_findjoininfo.c
pthread_getaffinity.c
pthread_getschedparam.c
pthread_initialize.c
pthread_join.c
pthread_kill.c
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_release.c
pthread_setaffinity.c
pthread_setschedparam.c
pthread_setschedprio.c
pthread_sigmask.c
pthread.h