nuttx-apps/netutils/thttpd
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
..
cgi-src Makefile: replace INCDIR to INCDIR_PREFIX 2022-11-10 02:38:58 +08:00
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 15:56:35 +01:00
config.h neutils/thttpd: Remove CONFIG_SDCLONE_DISABLE 2022-01-31 19:03:55 +01:00
fdwatch.c Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 18:40:23 +02:00
fdwatch.h include: fix double include pre-processor guards 2022-01-16 17:36:21 +08:00
Kconfig thttpd: add THTTPD_NFILE_DESCRIPTORS limits instead of NFILE_DESCRIPTORS 2021-03-16 07:56:45 -07:00
libhttpd.c apps: getpid should return process id not thread id 2022-11-17 17:58:45 +08:00
libhttpd.h netutils/thttpd: remove MIN and MAX definitions from libhttpd.c 2022-10-24 01:13:27 +08:00
Make.defs Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),) 2022-10-16 14:59:08 +02:00
Makefile Makefile: replace INCDIR to INCDIR_PREFIX 2022-11-10 02:38:58 +08:00
mime_types.h include: fix double include pre-processor guards 2022-01-16 17:36:21 +08:00
tdate_parse.c nxstyle fixes. 2022-09-30 14:23:04 +08:00
tdate_parse.h include: fix double include pre-processor guards 2022-01-16 17:36:21 +08:00
thttpd_alloc.c netutils: fix relative path CI error 2021-06-16 09:03:06 -05:00
thttpd_alloc.h include: fix double include pre-processor guards 2022-01-16 17:36:21 +08:00
thttpd_cgi.c Fix nxstyle wanring as much as we can 2022-10-23 11:47:20 +08:00
thttpd_cgi.h include: fix double include pre-processor guards 2022-01-16 17:36:21 +08:00
thttpd_strings.c nxstyle fixes. 2022-09-30 14:23:04 +08:00
thttpd_strings.h Fix the nxstyle warning 2022-01-17 07:57:22 +01:00
thttpd.c Fix nxstyle wanring as much as we can 2022-10-23 11:47:20 +08:00
timers.c nxstyle fixes. 2022-09-30 14:23:04 +08:00
timers.h Fix nxstyle wanring as much as we can 2022-10-23 11:47:20 +08:00