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 2021/03/01 02:39:44 UTC

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #2938: libs: misc: Remove critical section in lib_filesem.c for SMP

patacongo edited a comment on pull request #2938:
URL: https://github.com/apache/incubator-nuttx/pull/2938#issuecomment-787594702


   Unrelated to your change, but shouldn't the calls to getpid() be changed to calls to gettid()?  The logic implements that thread-reentrant lock.  gettid() is the API that returns the thread ID, not getpid().


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