- return conn->plan.io == NULL;
-}
-
-void io_wake_(struct io_conn *conn, struct io_plan plan)
-
-{
- io_plan_debug_again();
-
- /* It might be closing, but we haven't called its finish() yet. */
- if (!conn->plan.next)
- return;
- /* It was idle, right? */
- assert(!conn->plan.io);
- conn->plan = plan;
- backend_plan_changed(conn);
-
- debug_io_wake(conn);