-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[io/file_watcher] Ensure start/stop file watching requests are run on…
… dart thread. At present start/stop requests are scheduled on RunLoop thread. This results in deadlocks since same RunLoop thread might be busy with blocking writes of file watching events, not giving a chance for Dart to read previously-written events. Reading would unblock writer. So this CL moves start/stop requests to run on Dart thread instead. Fixes #45996 TEST=run analysis_server against flutter_gallery github-backed folder, switch between branches and ensure analyze_server remains responsive Change-Id: I0464eeecf8e46ba3027fa0ed21cc323495d965c3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/201442 Commit-Queue: Alexander Aprelev <aam@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
- Loading branch information
Showing
1 changed file
with
13 additions
and
60 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