nuttx/sched
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
..
clock clock: adjust clock function to support tick 2022-11-01 21:54:20 +08:00
environ sched/env: Don't need copy env variable from parent in env_dup 2022-10-19 08:22:56 +09:00
group group_setupidlefiles: fall back to /dev/null if /dev/console is disabled 2022-11-09 17:06:38 +08:00
init sched/mqueue: make mqueue and mqueue sysv can disable separately 2022-11-16 20:03:40 +08:00
irq mm/heap: Change TCB_FLAG_HEAPCHECK to TCB_FLAG_HEAP_CHECK 2022-11-12 09:39:01 +01:00
module mod_insmod: fix coverity warning 2022-04-02 20:09:42 +08:00
mqueue sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
paging nuttx/sched: use pid to check idle task 2022-10-31 17:53:08 +09:00
pthread sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
sched sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
semaphore sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
signal sched/mqueue: make mqueue and mqueue sysv can disable separately 2022-11-16 20:03:40 +08:00
task sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
timer sched/posix/timer: handle invaild timerid correctly 2022-10-31 19:59:29 -03:00
tls Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
wdog libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
wqueue use SEM_INITIALIZER inside of NXSEM_INITIALIZER 2022-10-22 14:50:48 +08:00
Kconfig sched/mqueue: make mqueue and mqueue sysv can disable separately 2022-11-16 20:03:40 +08:00
Makefile tools: replace INCDIR to Makefile variable 2022-11-03 19:59:55 +08:00