qinwei2004 opened a new pull request, #1419:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1419

   ## 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
   update apps code
   
   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
   
   ## Impact
   any code that use getpid/gettid need to check
   
   ## Testing
   ostest PASSED at qemu with configure
   1. ARM 32bit: ./tools/configure.sh -l sabre-6quad:nsh
   2. ARM 64bit: ./tools/configure.sh -l qemu-armv8a:nsh
   
   Signed-off-by: qinwei1 <qinw...@xiaomi.com>
   


-- 
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

Reply via email to