nuttx/sched/semaphore
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
sem_clockwait.c sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
sem_destroy.c semaphore: move param check to sem_xx level 2022-11-10 22:36:21 +08:00
sem_holder.c nuttx/sched: use pid to check idle task 2022-10-31 17:53:08 +09:00
sem_initialize.c
sem_post.c semaphore: move param check to sem_xx level 2022-11-10 22:36:21 +08:00
sem_recover.c sem: don't clear waitobj when do sem recover 2022-10-11 16:31:54 +09:00
sem_reset.c
sem_setprotocol.c libc/semaphore:sem_init change defult protocol 2022-10-22 14:50:48 +08:00
sem_tickwait.c sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
sem_timedwait.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
sem_timeout.c
sem_trywait.c semaphore: move param check to sem_xx level 2022-11-10 22:36:21 +08:00
sem_wait.c semaphore: move param check to sem_xx level 2022-11-10 22:36:21 +08:00
sem_waitirq.c sched: remove sched_continue, merge code 2022-11-04 08:51:02 +01:00
semaphore.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
spinlock.c sched/*/*spinlock.c: Fix some typos. 2021-07-24 09:00:41 -07:00