Searched refs:tasks (Results 1 – 8 of 8) sorted by relevance
47 EXPECT_TRUE(tasks.empty()); in schedule_task()56 tasks.front()(context); in schedule_task()58 tasks.pop(); in schedule_task()69 tasks.front()(context); in schedule_task()73 tasks.pop(); in schedule_task()74 tasks.front()(context); in schedule_task()78 tasks.pop(); in schedule_task()79 tasks.front()(context); in schedule_task()83 tasks.pop(); in schedule_task()201 tasks.front()(context); in ticket_obtain2_duplicate_finalize_resume()[all …]
105 void scheduler::take_runnable_tasks(task_queue* tasks) { in take_runnable_tasks() argument106 assert(tasks && tasks->empty()); in take_runnable_tasks()107 runnable_tasks_.swap(*tasks); in take_runnable_tasks()110 void scheduler::take_all_tasks(task_queue* tasks) { in take_all_tasks() argument111 assert(tasks && tasks->empty()); in take_all_tasks()113 runnable_tasks_.swap(*tasks); in take_all_tasks()119 tasks->push(std::move(item.second.task)); in take_all_tasks()
102 fit::subtle::scheduler::task_queue tasks; // drop outside of the lock in shutdown() local107 guarded_.scheduler_.take_all_tasks(&tasks); in shutdown()133 fit::subtle::scheduler::task_queue tasks; in run() local135 wait_for_runnable_tasks(&tasks); in run()136 if (tasks.empty()) { in run()141 run_task(&tasks.front(), context); in run()142 tasks.pop(); // the task may be destroyed here if it was not suspended in run()143 } while (!tasks.empty()); in run()
145 to stage a sequence of asynchronous tasks. This tends to be challenging
99 void take_runnable_tasks(task_queue* tasks);108 void take_all_tasks(task_queue* tasks);
65 static task_table_t tasks = {}; variable88 job_stack[depth] = add_entry(&tasks, &e); in job_callback()132 add_entry(&tasks, &e); in process_callback()186 add_entry(&tasks, &e); in thread_callback()342 print_table(&tasks, &options); in main()343 free(tasks.entries); in main()
148 ### Posting tasks and getting the current time150 To schedule asynchronous tasks, the client prepares an `async_task_t`154 The client can post tasks from any thread but dispatch will occur
372 // administrator tasks within the filesystem.
Completed in 12 milliseconds