Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle io watch error conditions gracefully
All calls to g_io_add_watch() request error condition reporting, and all related callback functions at minimum will not create a virtual busyloop by leaving the io watch active and ignoring the error state. The mce io monitoring subsystem is modified so that instead of using separate io watches for data and error handling + optional error recovery callback it now has one io watch that first deals with possible errors and then handles possible input via monitor type specific logic and enforces delete notification callbacks for making clean up at upper level logic. This should allow mce to gracefully handle situations like adding/removing bluetooth keyboards. [mce] Handle io watch error conditions gracefully
- Loading branch information
Showing
12 changed files
with
1,717 additions
and
1,516 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.