| 158 | } |
| 159 | |
| 160 | static inline int |
| 161 | write_signal_done(int event, NetHandler *nh, UnixNetVConnection *vc) |
| 162 | { |
| 163 | vc->write.enabled = 0; |
| 164 | if (write_signal_and_update(event, vc) == EVENT_DONE) { |
| 165 | return EVENT_DONE; |
| 166 | } else { |
| 167 | write_reschedule(nh, vc); |
| 168 | return EVENT_CONT; |
| 169 | } |
| 170 | } |
| 171 | |
| 172 | static inline int |
| 173 | read_signal_error(NetHandler *nh, UnixNetVConnection *vc, int lerrno) |
no test coverage detected