forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1677509 - Use GetQueuedCompletionStatusEx in win message pump r=h…
…andyman This is almost certainly a very small optimization, and likely won't address the frequency of hangs from bug 1677509. However, it still should be an improvement, and will work on anything Vista or later. We observed as part of trying to diagnose the somewhat mysterious bug 1677509 that sometimes multiple messages would be queued, and yet the IPC I/O thread would go idle in between servicing them in GetQueuedCompletionStatusEx. Given that we send frequent sync ipc messages for mouse move events, it seems prudent to be able to service multiple at a time. Differential Revision: https://phabricator.services.mozilla.com/D114287
- Loading branch information
1 parent
6ff37f3
commit 015a338
Showing
4 changed files
with
50 additions
and
38 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
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