Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 8 of 8) sorted by relevance

/system/utest/fit/
A Dscheduler_tests.cpp47 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 …]
/system/ulib/fit/
A Dscheduler.cpp105 void scheduler::take_runnable_tasks(task_queue* tasks) { in take_runnable_tasks() argument
106 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() argument
111 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()
A Dsingle_threaded_executor.cpp102 fit::subtle::scheduler::task_queue tasks; // drop outside of the lock in shutdown() local
107 guarded_.scheduler_.take_all_tasks(&tasks); in shutdown()
133 fit::subtle::scheduler::task_queue tasks; in run() local
135 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()
A DREADME.md145 to stage a sequence of asynchronous tasks. This tends to be challenging
/system/ulib/fit/include/lib/fit/
A Dscheduler.h99 void take_runnable_tasks(task_queue* tasks);
108 void take_all_tasks(task_queue* tasks);
/system/uapp/psutils/
A Dps.c65 static task_table_t tasks = {}; variable
88 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()
/system/ulib/async/
A DREADME.md148 ### Posting tasks and getting the current time
150 To schedule asynchronous tasks, the client prepares an `async_task_t`
154 The client can post tasks from any thread but dispatch will occur
/system/fidl/fuchsia-io/
A Dio.fidl372 // administrator tasks within the filesystem.

Completed in 12 milliseconds