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
..
2022-08-24 16:58:10 +08:00
2022-08-24 16:58:10 +08:00
2021-08-02 08:23:35 -03:00
2021-04-03 04:20:31 -07:00
2022-07-08 02:15:54 +08:00