nuttx-apps/graphics
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
..
ft80x Fix the minor style issue 2022-10-16 19:07:16 +02:00
libjpeg Makefile: replace INCDIR to INCDIR_PREFIX 2022-11-10 02:38:58 +08:00
lvgl Makefile: replace INCDIR to INCDIR_PREFIX 2022-11-10 02:38:58 +08:00
nxglyphs Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 18:40:23 +02:00
nxwidgets Fix error: 'NXWidgets::CTextBox::insertText' hides overloaded virtual functio 2022-11-07 21:38:21 +01:00
nxwm Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 18:40:23 +02:00
pdcurs34 apps: getpid should return process id not thread id 2022-11-17 17:58:45 +08:00
screenshot apps: graphics: screenshot: update licenses to Apache 2022-03-11 00:14:32 +02:00
slcd Fix Error: slcd_trapezoids.cxx:84:5: error: array designators are a C99 extension [-Werror,-Wc99-designator] 2022-11-12 18:29:31 +01:00
tiff Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),) 2022-10-16 14:59:08 +02:00
twm4nx Fix Error: src/cwindow.cxx:97:3: error: array designators are a C99 extension [-Werror,-Wc99-designator] 2022-11-11 21:12:22 +01:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
Make.defs Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00