MCPcopy Create free account
hub / github.com/Kistler-Group/sdbus-cpp / enterEventLoop

Method enterEventLoop

src/Connection.cpp:165–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void Connection::enterEventLoop()
166{
167 while (true)
168 {
169 // Process one pending event
170 (void)processPendingEvent();
171
172 // And go to poll(), which wakes us up right away
173 // if there's another pending event, or sleeps otherwise.
174 auto success = waitForNextEvent();
175 if (!success)
176 break; // Exit I/O event loop
177 }
178}
179
180void Connection::enterEventLoopAsync()
181{

Callers 4

mainFunction · 0.80
mainFunction · 0.80
TESTFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 2

mainFunction · 0.64
TESTFunction · 0.64