pussuw commented on PR #16134: URL: https://github.com/apache/nuttx/pull/16134#issuecomment-2786110976
The issue with FLAT mode is that it uses the userspace versions of gettid()/getpid()/getppid() in the kernel, which does not work for the init phase. IMO, those should not be used from within the kernel anyhow (not even in FLAT mode). gettid()/getpid()/getppid() do not touch errno / are not cancellation points, so IMO the change which I reverted here is wrong. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org