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 1384336 - Fix to MainThreadInvoker to avoid deadlocks (r=aklotz)
When removing our Windows message loop pumping code in the content process, a11y code on the MTA thread must have some way to wake up the main thread. The main thread could be blocked either on a conditional variable waiting for a Gecko event, or it could be blocked waiting on a Windows HANDLE in IPC code (doing a sync message send). In the former case, we wake it up by posting an event to the main thread. In the latter case, we continue to use the asynchronous procedure call mechanism. MozReview-Commit-ID: FN6KWaGo9Zl
- Loading branch information
1 parent
533f689
commit c11382c
Showing
3 changed files
with
24 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
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