Chromium Code Reviews
DescriptionMojo EDK: Never notify own watchers within public API calls
Watcher notification requires a lock to be held, and arbitrary user
code may be invoked while within that stack. As such we should never
wake up a message pipe's own watcher from within a public API call
on that pipe's handle.
This removes such notifications from ReadMessage and WriteMessage.
The notifications are entirely redundant anyway, since they will have
already been triggered by OnPortStatusChanged when the underlying port
was closed.
BUG=665996
R=yzshen@chromium.org
Committed: https://crrev.com/74279d49e257153aaac8b9362473c2a5d789dfd8
Cr-Commit-Position: refs/heads/master@{#432739}
Patch Set 1 #
Messages
Total messages: 15 (8 generated)
|
|||||||||||||||||||