Descriptionmojo: Allow basic RunLoop to be quit from a posted task.
Right now, if the runloop is observing handles and a delayed task tries
to quit it, it will block until one handle gets a signal. This CL
ensures that a delayed task can quit the runloop.
R=jamesr@chromium.org
Committed: https://crrev.com/8fd73aa30ad43651bb6dc425ef2156073e1a9377
Cr-Commit-Position: refs/heads/master@{#296378}
Patch Set 1 #Patch Set 2 : Handle UntilIdle case by preempting reading a handle when Quit is called. #Patch Set 3 : Follow review #
Total comments: 6
Patch Set 4 : Follow review #
Total comments: 1
Patch Set 5 : Do not wait for all task to be done before quitting when running until idle. #Patch Set 6 : Refactor python tests #
Total comments: 4
Patch Set 7 : Follow review #
Messages
Total messages: 16 (2 generated)
|