MCPcopy Create free account
hub / github.com/apache/trafficserver / write_reschedule

Function write_reschedule

src/iocore/net/UnixNetVConnection.cc:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66static inline void
67write_reschedule(NetHandler *nh, UnixNetVConnection *vc)
68{
69 vc->ep.refresh(EVENTIO_WRITE);
70 if (vc->write.triggered && vc->write.enabled) {
71 nh->write_ready_list.in_or_enqueue(vc);
72 } else {
73 nh->write_ready_list.remove(vc);
74 }
75}
76
77//
78// Signal an event

Callers 3

write_signal_doneFunction · 0.85
net_write_ioMethod · 0.85
writeRescheduleMethod · 0.85

Calls 3

in_or_enqueueMethod · 0.80
refreshMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected