| Index: base/task_scheduler/scheduler_worker_pool_impl.h
|
| diff --git a/base/task_scheduler/scheduler_worker_pool_impl.h b/base/task_scheduler/scheduler_worker_pool_impl.h
|
| index 7b285a54d38a84d6380f97bc19e4945f414cae9d..6fc5ee0569132627c439e343adaa06e685ff4c07 100644
|
| --- a/base/task_scheduler/scheduler_worker_pool_impl.h
|
| +++ b/base/task_scheduler/scheduler_worker_pool_impl.h
|
| @@ -38,16 +38,19 @@ namespace internal {
|
| class DelayedTaskManager;
|
| class TaskTracker;
|
|
|
| -// A pool of workers that run Tasks. This class is thread-safe.
|
| +// A pool of workers that run Tasks.
|
| +//
|
| +// The pool doesn't create threads until Start() is called. Tasks can be posted
|
| +// at any time but will not run until after Start() is called.
|
| +//
|
| +// This class is thread-safe.
|
| class BASE_EXPORT SchedulerWorkerPoolImpl : public SchedulerWorkerPool {
|
| public:
|
| // Callback invoked when a Sequence isn't empty after a worker pops a Task
|
| // from it.
|
| using ReEnqueueSequenceCallback = Callback<void(scoped_refptr<Sequence>)>;
|
|
|
| - // Constructs a pool without workers. Tasks can be posted to the pool, but
|
| - // they won't run until workers are created. To create workers and start
|
| - // running tasks, call Start().
|
| + // Constructs a pool without workers.
|
| //
|
| // |name| is used to label the pool's threads ("TaskScheduler" + |name| +
|
| // index) and histograms ("TaskScheduler." + histogram name + "." + |name| +
|
|
|