| 153 | } |
| 154 | |
| 155 | int DaemonApp::daemonLoop() |
| 156 | { |
| 157 | #if SYSAPI_WIN32 |
| 158 | // Runs the daemon through the Windows service controller, which controls the program lifecycle. |
| 159 | return ArchDaemonWindows::runDaemon([this]() { return mainLoop(); }); |
| 160 | #elif SYSAPI_UNIX |
| 161 | return mainLoop(); |
| 162 | #endif |
| 163 | } |
| 164 | |
| 165 | int DaemonApp::mainLoop() |
| 166 | { |
nothing calls this directly
no outgoing calls
no test coverage detected