Searched refs:shutdown_behavior (Results 1 – 9 of 9) sorted by relevance
15 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, traits.shutdown_behavior()); in TEST()24 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, traits.shutdown_behavior()); in TEST()33 EXPECT_EQ(TaskShutdownBehavior::BLOCK_SHUTDOWN, traits.shutdown_behavior()); in TEST()42 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, traits.shutdown_behavior()); in TEST()51 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, traits.shutdown_behavior()); in TEST()62 EXPECT_EQ(TaskShutdownBehavior::BLOCK_SHUTDOWN, traits.shutdown_behavior()); in TEST()75 EXPECT_EQ(traits.shutdown_behavior(), traits_copy.shutdown_behavior()); in TEST()89 overridden.shutdown_behavior()); in TEST()102 overridden.shutdown_behavior()); in TEST()116 overridden.shutdown_behavior()); in TEST()[all …]
25 continue_on_shutdown.traits.shutdown_behavior()); in TEST()31 skip_on_shutdown.traits.shutdown_behavior()); in TEST()37 block_shutdown.traits.shutdown_behavior()); in TEST()46 continue_on_shutdown.traits.shutdown_behavior()); in TEST()51 skip_on_shutdown.traits.shutdown_behavior()); in TEST()56 block_shutdown.traits.shutdown_behavior()); in TEST()
29 TaskShutdownBehavior shutdown_behavior) { in TaskShutdownBehaviorToString() argument30 switch (shutdown_behavior) { in TaskShutdownBehaviorToString()48 const TaskShutdownBehavior& shutdown_behavior) { in operator <<() argument49 os << TaskShutdownBehaviorToString(shutdown_behavior); in operator <<()
344 if (!BeforePostTask(task->traits.shutdown_behavior())) in WillPostTask()398 const TaskShutdownBehavior shutdown_behavior = in RunAndPopNextTask() local399 task->traits.shutdown_behavior(); in RunAndPopNextTask()401 const bool can_run_task = BeforeRunTask(shutdown_behavior); in RunAndPopNextTask()406 AfterRunTask(shutdown_behavior); in RunAndPopNextTask()474 task.traits.shutdown_behavior() != in RunOrSkipTask()655 bool TaskTracker::BeforePostTask(TaskShutdownBehavior shutdown_behavior) { in BeforePostTask() argument656 if (shutdown_behavior == TaskShutdownBehavior::BLOCK_SHUTDOWN) { in BeforePostTask()706 bool TaskTracker::BeforeRunTask(TaskShutdownBehavior shutdown_behavior) { in BeforeRunTask() argument707 switch (shutdown_behavior) { in BeforeRunTask()[all …]
243 bool BeforePostTask(TaskShutdownBehavior shutdown_behavior);248 bool BeforeRunTask(TaskShutdownBehavior shutdown_behavior);253 void AfterRunTask(TaskShutdownBehavior shutdown_behavior);
195 constexpr TaskShutdownBehavior shutdown_behavior() const { in shutdown_behavior() function240 const TaskPriority& shutdown_behavior);243 const TaskShutdownBehavior& shutdown_behavior);
27 traits.shutdown_behavior() == TaskShutdownBehavior::BLOCK_SHUTDOWN in Task()36 traits.shutdown_behavior() == TaskShutdownBehavior::BLOCK_SHUTDOWN) in Task()
456 if (traits.shutdown_behavior() == TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN) in TraitsToContinueOnShutdown()
171 Task CreateTask(TaskShutdownBehavior shutdown_behavior) { in CreateTask() argument175 TaskTraits(shutdown_behavior), TimeDelta()); in CreateTask()