DescriptionRevert of Use TaskScheduler instead of WorkerPool in client_cert_store_chromeos.cc. (patchset #7 id:120001 of https://codereview.chromium.org/2533473002/ )
Reason for revert:
Using TaskScheduler with NSS is not safe until TaskScheduler supports dynamically growing its thread pool.
Original issue's description:
> Use TaskScheduler instead of WorkerPool in client_cert_store_chromeos.cc.
>
> This CL replaces base::WorkerPool::PostTask() with
> base::PostTaskWithTraits(). The following traits are used:
>
> Priority: Inherited (default)
> The priority is inherited from the calling context (i.e. TaskTraits
> are initialized with the priority of the current task).
>
> 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 waits on synchronous file IO operations.
>
> With Wait:
> The task waits 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/14589e9ca09b5cf03be779b0c1158cc5388def05
> Cr-Commit-Position: refs/heads/master@{#436087}
TBR=gab@chromium.org,mattm@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=659191
Review-Url: https://codereview.chromium.org/2720143003
Cr-Commit-Position: refs/heads/master@{#453460}
Committed: https://chromium.googlesource.com/chromium/src/+/f945b5f336da1fd246e2a0a24a5633547034287b
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : rebase #
Total comments: 2
Messages
Total messages: 12 (6 generated)
|