patacongo commented on issue #2499:
URL: 
https://github.com/apache/incubator-nuttx/issues/2499#issuecomment-741000847


   > group ID is overloaded. Sorry about that. NuttX does not support group 
security as does Linux. The group ID refers to the "task group", not to the 
security group.
   
   Back to the original question.  "Should getpid() return the process ID?"  
Currently it returns the thread ID of the caller.  I suppose it would, more 
appropriately return group ID (since the process ID of each thread should be 
the same, only the thread ID should be different.).
   
   That would break a LOT of user code, I suspect.


----------------------------------------------------------------
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:
[email protected]


Reply via email to