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

Function async_msg_cb

src/io/network/endpoint.cc:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43static void async_msg_cb(struct ev_loop *loop, ev_async *ev, int revent) {
44 reinterpret_cast<NetworkThread *>(ev_userdata(loop))->onSend();
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);

Callers

nothing calls this directly

Calls 1

onSendMethod · 0.80

Tested by

no test coverage detected