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

Method signalActivity

src/iocore/net/UnixUDPNet.cc:1940–1950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1938}
1939
1940void
1941UDPNetHandler::signalActivity()
1942{
1943#if HAVE_EVENTFD
1944 uint64_t counter = 1;
1945 ATS_UNUSED_RETURN(write(thread->evfd, &counter, sizeof(uint64_t)));
1946#else
1947 char dummy = 1;
1948 ATS_UNUSED_RETURN(write(thread->evpipe[1], &dummy, 1));
1949#endif
1950}

Callers 4

enqueueMethod · 0.45
reenableMethod · 0.45
send_packetMethod · 0.45
_recv_packetMethod · 0.45

Calls 1

writeFunction · 0.50

Tested by

no test coverage detected