patacongo commented on pull request #2518: URL: https://github.com/apache/incubator-nuttx/pull/2518#issuecomment-743184614
This line in pthread.h needs to change too: #define pthread_self() ((pthread_t)getpid()) Please review all uses of getpid() in the OS and make sure that the calls still make sense. In most cases, getpid() will need to be replaces with gettid() or pthread_self(). ---------------------------------------------------------------- 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: us...@infra.apache.org