-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle empty queue after
K_CF_RUN_LOOP_RUN_HANDLED_SOURCE
Occassionally CFRunLoopInMode() returns K_CF_RUN_LOOP_RUN_HANDLED_SOURCE even though the _hid_read_callback() has not been invoked, resulting in reading from an empty queue. We can handle this by re-running the run loop with a retry mechanism.
- Loading branch information
Showing
1 changed file
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters