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

Method bindToThread

src/iocore/net/UnixUDPConnection.cc:106–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void
107UDPConnection::bindToThread(Continuation *c, EThread *t)
108{
109 UnixUDPConnection *uc = static_cast<UnixUDPConnection *>(this);
110 ink_assert(t);
111 ink_assert(get_UDPNetHandler(t));
112 uc->ethread = t;
113 AddRef();
114 uc->continuation = c;
115 mutex = c->mutex;
116 get_UDPNetHandler(t)->newconn_list.push(uc);
117}
118
119Action *
120UDPConnection::send(Continuation *c, UDPPacket *p)

Callers 2

UDPBindMethod · 0.80
connect_reMethod · 0.80

Calls 2

get_UDPNetHandlerFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected