wangchdo opened a new pull request, #16993: URL: https://github.com/apache/nuttx/pull/16993
In certain cases, when the event-wait thread is awakened, it needs to know the specific mask bit that triggered it, so that it can branch to different paths accordingly. This patch introduces the nxevent_getmask function to address this requirement. *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Add a new function: `nxevent_getmask() `to address requirement that user may need to know the specific mask bit that triggered it, so that it can branch to different paths accordingly. ## Impact A new function is added, no impact to any other parts ## Testing **add test cases** <img width="627" height="582" alt="image" src="https://github.com/user-attachments/assets/8243f4b0-0ee9-4b8c-9bbf-da1908e46d52" /> **ostest passed on a2g-tc397-5v-tft** <img width="656" height="830" alt="image" src="https://github.com/user-attachments/assets/b9f39f3c-5fa8-42a7-9a62-d390a38529a8" /> -- 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