Chromium Code Reviews
DescriptionUse TaskScheduler instead of WorkerPool in user_session_manager.cc.
This CL replaces base::WorkerPool::PostTask() with
base::PostTaskWithTraits() call. The following traits are used:
Priority: BACKGROUND
User won't notice if this task takes an arbitrarily long time
to complete.
Shutdown behavior: CONTINUE_ON_SHUTDOWN
Tasks posted with this mode which have not started executing before
shutdown is initiated will never run. Tasks with this mode running at
shutdown will be ignored (the worker will not be joined).
With file IO:
The task is allowed to perform synchronous IO operations.
No Wait (default):
The task does not wait on things other than synchronous file IO
operations (e.g. WaitableEvent, ConditionVariable, join a thread,
join a process, blocking system call that doesn't involve
interactions with the file system).
BUG=659191
Committed: https://crrev.com/77c45323d49314e02224ad204cad09b8f052cf8e
Cr-Commit-Position: refs/heads/master@{#436033}
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|
|||||||||||||||||||