commit | 63bf713788ced542ac60cf933d83144c4c080ba9 | [log] [tgz] |
---|---|---|
author | reillyg <reillyg@chromium.org> | Sat Apr 11 08:07:27 2015 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 18:43:36 2020 +0900 |
tree | 226a64e14e11d58e96bea7ffa41303328a8a75a3 | |
parent | f9c698573e9839c49db6e95de49cc365c77fa906 [diff] |
Access fields from the appropriate threads in FilePathWatcherFSEvents. Limit reads and writes to the target_, resolved_target_ and callback_ fields to the libdispatch task runner only. This should resolve possible races between calls to FilePathWatcherFSEvents::Watch and incoming events. BUG=457793 Review URL: https://codereview.chromium.org/1046353004 Cr-Commit-Position: refs/heads/master@{#324706} CrOS-Libchrome-Original-Commit: 6422ac627ba05c4cbcbdec5a80484e5b8859028a