My app uses getpid() to determine where to send a signal to - a thread interested in data changes from another thread "registers interest" and getpid() is used to obtain and save the pid for use when a change occurs.
NuttX 12.5 behaves as expected and returns the pid of the calling thread , but from 12.6 onwards it returns 0 every time.
Before I bisect, or look to my own code for an obscure bug, is there a change that's been made meaning we need to perhaps do something else first to get it to work, or there's been a fix/change I should know about?
My app uses getpid() to determine where to send a signal to - a thread interested in data changes from another thread "registers interest" and getpid() is used to obtain and save the pid for use when a change occurs.
NuttX 12.5 behaves as expected and returns the pid of the calling thread , but from 12.6 onwards it returns 0 every time.
Before I bisect, or look to my own code for an obscure bug, is there a change that's been made meaning we need to perhaps do something else first to get it to work, or there's been a fix/change I should know about?