wangchdo commented on PR #16920: URL: https://github.com/apache/nuttx/pull/16920#issuecomment-3264701493
> > Not breaking OS test is good, but how did you test the new API? It's not used in OSTest. What is the use-case for this and where would it be used? > > Maybe you could add useage of this to OSTest to avoid regressions later? > > Hi @linguini1 Do you think It is OK to just put the test case and the test results in this PR? > > I tryied to add it in the ostest, but since the ostest is in nuttx-apps and it is in different repo from nuttx, the new ostest using this api will not pass the BV for nuttx-apps repo > > Besides, the use-case is that the event-wait thread does not want the even-post thread to clear the mask for it, but want to clear the specific event mask bit after it is sure it want to do it, so it will wait only it wants to wait. Hi @linguini1 event clear tests were added local in my computer, and the tests passed on a2g-tc397-5v-tft board: <img width="931" height="774" alt="image" src="https://github.com/user-attachments/assets/50250479-4da6-47d9-b65c-15dce04f33ff" /> <img width="703" height="417" alt="image" src="https://github.com/user-attachments/assets/2fd64bff-82ab-464c-987a-610c891b4708" /> <img width="586" height="571" alt="image" src="https://github.com/user-attachments/assets/421163ea-4f47-4ed6-b0ca-f33c56138276" /> -- 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