Chromium Code Reviews
DescriptionFixes possible deadlock in fontservice
Here's the sequence:
1. FontServiceThread::OpenStreamImpl
2. FontService::OpenStream
3. FontServiceThread::OnOpenStreamComplete
If between 2 and 3 FontService gets a connection error the callback
that calls OnOpenStreamComplete is never received, and the thread that
called OpenStream() is stuck forever.
Fix is to add the WaitableEvents to a member variable and if a
connection error is received all WaitableEvents are signaled.
BUG=594600
TEST=none
R=erg@chromium.org
Committed: https://crrev.com/b8d418d3c26048ed54ce7039bcc4c627a6804c54
Cr-Commit-Position: refs/heads/master@{#389515}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|
||||||||||||||||||||||||||||