| 105 | }; |
| 106 | |
| 107 | TaskSchedulerImpl::TaskSchedulerImpl() |
| 108 | : use_sync_execution_(false), num_concurrent_tasks_(0), register_finished_(false) { |
| 109 | aborted_.value.store(false); |
| 110 | num_tasks_to_schedule_.value.store(0); |
| 111 | tasks_added_recently_.value.store(false); |
| 112 | } |
| 113 | |
| 114 | int TaskSchedulerImpl::RegisterTaskGroup(TaskImpl task_impl, |
| 115 | TaskGroupContinuationImpl cont_impl) { |