MCPcopy Create free account
hub / github.com/apache/singa / writable_cb

Function writable_cb

src/io/network/endpoint.cc:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47static void writable_cb(struct ev_loop *loop, ev_io *ev, int revent) {
48 reinterpret_cast<NetworkThread *>(ev_userdata(loop))->onSend(ev->fd);
49}
50
51static void readable_cb(struct ev_loop *loop, ev_io *ev, int revent) {
52 reinterpret_cast<NetworkThread *>(ev_userdata(loop))->onRecv(ev->fd);

Callers

nothing calls this directly

Calls 1

onSendMethod · 0.80

Tested by

no test coverage detected