You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anchao (via GitHub)" <gi...@apache.org> on 2023/01/29 08:33:21 UTC

[GitHub] [nuttx] anchao opened a new pull request, #8336: sched/pthread: set default pthread name to parent's name

anchao opened a new pull request, #8336:
URL: https://github.com/apache/nuttx/pull/8336

   
   ## Summary
   
   sched/pthread: set default pthread name to parent's name
   
   Align the ps behavior with linux:
   
   linux:
   
   ```
     $ ps -e -T | grep hello
     3758130 3758130 pts/10   00:00:00 hello
     3758130 3758131 pts/10   00:00:00 hello
   ```
   
   nuttx:
   
   ```
     nsh> ps
       PID GROUP PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK COMMAND
     ...
         4     4 100 FIFO     Task    --- Waiting  Signal    00000000 067504 hello
         5     4 100 FIFO     pthread --- Waiting  Signal    00000000 067536 hello 0x561cef0dfc53 0x1
   ```
   
   Signed-off-by: chao an <an...@xiaomi.com>
   
   ## Impact
   
   N/A
   
   ## Testing
   
   pthread_create


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] pkarashchenko merged pull request #8336: sched/pthread: set default pthread name to parent's name

Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
pkarashchenko merged PR #8336:
URL: https://github.com/apache/nuttx/pull/8336


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org