Lines Matching refs:EV_WRITE
235 char write_waiting; /* true if we are waiting for EV_WRITE events */
1455 /* if waiting is true then we ask libevent for EV_WRITE events, otherwise */
1465 ns->socket, EV_READ | (waiting ? EV_WRITE : 0) | EV_PERSIST,
1485 if (events & EV_WRITE) {
1505 if (events & EV_WRITE) {
2005 event_assign(&port->event, port->event_base, port->socket, (port->closing?0:EV_READ) | EV_WRITE | EV_PERSIST, server_port_ready_callback, port);