MCPcopy Create free account
hub / github.com/defold/defold / SelectorIsSet

Function SelectorIsSet

engine/dlib/src/dlib/socket.cpp:254–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 }
253
254 bool SelectorIsSet(Selector* selector, SelectorKind selector_kind, Socket socket)
255 {
256 dmFileDescriptor::PollEvent event = SelectorKindToPollEvent(selector_kind);
257 return dmFileDescriptor::PollerHasEvent(&selector->m_Poller, event, socket);
258 }
259
260 void SelectorZero(Selector* selector)
261 {

Callers 5

dmLogUpdateNetworkFunction · 0.85
UpdateFunction · 0.85
HandleIncomingQueriesFunction · 0.85
HandleBrowserResponsesFunction · 0.85
WaitForRawSocketReadableFunction · 0.85

Calls 2

SelectorKindToPollEventFunction · 0.85
PollerHasEventFunction · 0.85

Tested by 1

WaitForRawSocketReadableFunction · 0.68