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

Method signalActivity

src/iocore/net/NetHandler.cc:387–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387void
388NetHandler::signalActivity()
389{
390#if HAVE_EVENTFD
391 uint64_t counter = 1;
392 ATS_UNUSED_RETURN(write(thread->evfd, &counter, sizeof(uint64_t)));
393#else
394 char dummy = 1;
395 ATS_UNUSED_RETURN(write(thread->evpipe[1], &dummy, 1));
396#endif
397}
398
399bool
400NetHandler::manage_active_queue(NetEvent *enabling_ne, bool ignore_queue_size = false)

Callers

nothing calls this directly

Calls 1

writeFunction · 0.50

Tested by

no test coverage detected