patacongo commented on PR #8970:
URL: https://github.com/apache/nuttx/pull/8970#issuecomment-1497580679

   > @xiaoxiang781216 this change is needed as a side effect of #8938 that 
calls `gettid` from `nxsem_post` -> `nxsem_checkholder`.
   
   It is also correct from a pure programming point of view.  We cannot allow 
g_pidhash to be a stale pointer across internal function calls in the OS.  You 
never know when the bad memory will be accessed.
   


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