nuttx-apps/system/taskset
qinwei1 c86509be4c apps: getpid should return process id not thread id
Summary:
   following the change in the nuttx kernel, implement the right semantics:
1. getpid should return the main thread id
2. gettid should return the current thread id

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

Nuttx Kernel PR:
 https://github.com/apache/incubator-nuttx/pull/7597

update apps code

Testing PASSED with qemu( 32/64 )

Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2022-11-17 17:58:45 +08:00
..
Kconfig system/taskset: Call system to launch application instead of nsh_system 2020-04-19 08:07:06 -06:00
Make.defs system: taskset: Replace license header with Apache License 2.0 2020-07-29 01:05:31 -05:00
Makefile system: taskset: Replace license header with Apache License 2.0 2020-07-29 01:05:31 -05:00
taskset.c apps: getpid should return process id not thread id 2022-11-17 17:58:45 +08:00