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
..
2022-10-16 19:07:16 +02:00
2022-07-29 19:21:52 +03:00
2021-06-11 02:42:05 -05:00
2021-06-11 02:42:05 -05:00
2022-09-27 19:39:31 +08:00
2022-10-16 19:07:16 +02:00
2021-12-20 09:12:52 -06:00
2021-06-11 02:42:05 -05:00
2021-06-11 02:42:05 -05:00
2022-11-07 15:24:08 +09:00
2021-06-16 09:03:06 -05:00
2022-10-16 19:07:16 +02:00
2022-10-16 19:07:16 +02:00
2022-10-16 19:07:16 +02:00
2022-10-16 19:07:16 +02:00
2022-09-27 19:39:22 +08:00
2022-01-16 08:07:47 +01:00
2022-10-06 12:20:32 +02:00