-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wpe] Fix glib main loop integration
GLib main loop may have multiple sources attached with same file descriptor but different event mask and they may get added and removed multiple times independently. Android looper handles only one file descriptor per event set and if file descriptor that already exists in looper gets added again with different event set then existing polling event is updated. Thus we must combine masks from all duplicate FDs from GLib main loop for ALooper.
- Loading branch information
Showing
2 changed files
with
84 additions
and
36 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
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