TaskScheduler: Add TaskTraits::WithWait().
WithWait() tasks are allowed to wait on other things than file I/O. In particular, they may wait on a WaitableEvent or a ConditionVariable, join a thread or a process, or make a blocking system call that doesn't involve interactions with the file system. In upcoming CLs, this trait will be used in scheduling decisions (more details on the bug). BUG=669247 Review-Url: https://codereview.chromium.org/2531663003 Cr-Commit-Position: refs/heads/master@{#435054}
Showing
Please register or sign in to comment