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 2022/02/27 17:02:51 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #5624: joystick/buttons: Fix the event lose between the invocation of poll

xiaoxiang781216 edited a comment on pull request #5624:
URL: https://github.com/apache/incubator-nuttx/pull/5624#issuecomment-1053616123


   > Please update the PR description with a use case that you are trying to fix. The changes seems to be not straight forward to me. I need to explanation to understand what is doing on in the system
   
   @pkarashchenko the case is simple, you can see that xxx_sample could wake up poller if the interrupt happen while the caller is waiting inside select/poll function. But, the event will lose if the caller is busy to do other thing and then can't sleep in select/poll while the interrupt happen. This PR try to fix this issue.


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org