You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/06/11 02:51:09 UTC
[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #1227: sched: Remove SCHED_EXIT_KILL_CHILDREN option
xiaoxiang781216 opened a new pull request #1227:
URL: https://github.com/apache/incubator-nuttx/pull/1227
## Summary
All standard indicate exit should terminate the whole process/task:
https://pubs.opengroup.org/onlinepubs/007904975/functions/exit.html
https://en.cppreference.com/w/c/program/exit
https://linux.die.net/man/2/exit
so let's remove the option and trust the caller know the difference:
1.exit terminate all threads belong the current process/task
2.pthread_exit only terminate the current(main/pthread) thread
## Impact
## Testing
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] patacongo merged pull request #1227: sched: Remove SCHED_EXIT_KILL_CHILDREN option
Posted by GitBox <gi...@apache.org>.
patacongo merged pull request #1227:
URL: https://github.com/apache/incubator-nuttx/pull/1227
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org