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

Method poll

include/iocore/eventsystem/UnixSocket.h:254–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254inline int
255UnixSocket::poll(struct pollfd *fds, unsigned long nfds, int timeout)
256{
257 int r;
258 do {
259 if ((r = ::poll(fds, nfds, timeout)) >= 0) {
260 break;
261 }
262 r = -errno;
263 } while (transient_error());
264 return r;
265}
266
267inline int
268UnixSocket::getsockname(struct sockaddr *sa, socklen_t *sz) const

Callers

nothing calls this directly

Calls 1

transient_errorFunction · 0.85

Tested by

no test coverage detected