• fdoray's avatar
    Add TaskScheduler::Create and TaskScheduler::CreateAndStartWithDefaultParams. · 43ec6dfa
    fdoray authored
    Processes that need to initialize task scheduler with custom params
    and processes that need to create and start task scheduler in separate
    steps should use TaskScheduler::Create.
    
    Processes that need a task scheduler but don't need custom
    initialization params and are fine with creating and starting the
    task scheduler in one step (i.e. don't need a period during which
    tasks can be posted to task scheduler without running) should
    use TaskScheduler::CreateAndStartWithDefaultParams.
    
    BUG=690706
    
    Review-Url: https://codereview.chromium.org/2836033002
    Cr-Commit-Position: refs/heads/master@{#467159}
    43ec6dfa
Name
Last commit
Last update
..
OWNERS Loading commit data...
delayed_task_manager.cc Loading commit data...
delayed_task_manager.h Loading commit data...
delayed_task_manager_unittest.cc Loading commit data...
initialization_util.cc Loading commit data...
initialization_util.h Loading commit data...
post_task.cc Loading commit data...
post_task.h Loading commit data...
priority_queue.cc Loading commit data...
priority_queue.h Loading commit data...
priority_queue_unittest.cc Loading commit data...
scheduler_lock.h Loading commit data...
scheduler_lock_impl.cc Loading commit data...
scheduler_lock_impl.h Loading commit data...
scheduler_lock_unittest.cc Loading commit data...
scheduler_single_thread_task_runner_manager.cc Loading commit data...
scheduler_single_thread_task_runner_manager.h Loading commit data...
scheduler_single_thread_task_runner_manager_unittest.cc Loading commit data...
scheduler_worker.cc Loading commit data...
scheduler_worker.h Loading commit data...
scheduler_worker_params.h Loading commit data...
scheduler_worker_pool.h Loading commit data...
scheduler_worker_pool_impl.cc Loading commit data...
scheduler_worker_pool_impl.h Loading commit data...
scheduler_worker_pool_impl_unittest.cc Loading commit data...
scheduler_worker_pool_params.cc Loading commit data...
scheduler_worker_pool_params.h Loading commit data...
scheduler_worker_stack.cc Loading commit data...
scheduler_worker_stack.h Loading commit data...
scheduler_worker_stack_unittest.cc Loading commit data...
scheduler_worker_unittest.cc Loading commit data...
scoped_set_task_priority_for_current_thread.cc Loading commit data...
scoped_set_task_priority_for_current_thread.h Loading commit data...
scoped_set_task_priority_for_current_thread_unittest.cc Loading commit data...
sequence.cc Loading commit data...
sequence.h Loading commit data...
sequence_sort_key.cc Loading commit data...
sequence_sort_key.h Loading commit data...
sequence_sort_key_unittest.cc Loading commit data...
sequence_unittest.cc Loading commit data...
switches.cc Loading commit data...
switches.h Loading commit data...
task.cc Loading commit data...
task.h Loading commit data...
task_scheduler.cc Loading commit data...
task_scheduler.h Loading commit data...
task_scheduler_impl.cc Loading commit data...
task_scheduler_impl.h Loading commit data...
task_scheduler_impl_unittest.cc Loading commit data...
task_tracker.cc Loading commit data...
task_tracker.h Loading commit data...
task_tracker_posix.cc Loading commit data...
task_tracker_posix.h Loading commit data...
task_tracker_posix_unittest.cc Loading commit data...
task_tracker_unittest.cc Loading commit data...
task_traits.cc Loading commit data...
task_traits.h Loading commit data...
task_unittest.cc Loading commit data...
test_task_factory.cc Loading commit data...
test_task_factory.h Loading commit data...
test_utils.h Loading commit data...