Lines Matching full:pending
128 // We need to wait for the pending wait process and stop it. in run()
234 // We've already been running and there might a completion pending. in caller_run()
247 // There might be pending completions still, so spawn a watcher for in caller_run()
255 auto worker = std::exchange(pending, nullptr); in wait_for_wait_process_stopped()
280 // need to `wait`, because there might be yet another pending operation in start()
306 // Assign ourselves as the pending completion and release the caller. in start()
322 return (ctx.pending != nullptr) || (ctx.staged != nullptr) || in wait_once()
326 // Save the waiter as pending. in wait_once()
327 if (ctx.pending == nullptr) in wait_once()
329 ctx.pending = std::exchange(ctx.staged, nullptr); in wait_once()
335 if (!ctx.final_stop.stop_requested() && ctx.pending) in wait_once()
337 ctx.event_loop.run_one(ctx.pending->timeout); in wait_once()
345 auto pending = std::exchange(self->pending, nullptr); in dbus_event_handle() local
346 if (pending != nullptr) in dbus_event_handle()
348 pending->complete(); in dbus_event_handle()