Home
last modified time | relevance | path

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

/external/libbrillo/brillo/message_loops/
Dglib_message_loop.cc39 ScheduledTask* scheduled_task = new ScheduledTask{ in PostDelayedTask() local
43 scheduled_task->source_id = g_timeout_add_full( in PostDelayedTask()
47 reinterpret_cast<gpointer>(scheduled_task), in PostDelayedTask()
49 tasks_[task_id] = scheduled_task; in PostDelayedTask()
95 ScheduledTask* scheduled_task = new ScheduledTask{ in WatchFileDescriptor() local
97 scheduled_task->source_id = g_io_add_watch_full( in WatchFileDescriptor()
102 reinterpret_cast<gpointer>(scheduled_task), in WatchFileDescriptor()
114 << (scheduled_task->source_id ? " successfully" : " failed."); in WatchFileDescriptor()
116 if (!scheduled_task->source_id) { in WatchFileDescriptor()
117 delete scheduled_task; in WatchFileDescriptor()
[all …]