Integrate the monitor's listener socket into the shard's poll()

This removes the need for a separate monitor thread.
This commit is contained in:
2020-12-06 01:44:37 +01:00
parent 53d8cb67ba
commit 92307063fc
7 changed files with 44 additions and 30 deletions

View File

@@ -6,7 +6,7 @@
#include <mutex>
namespace Monitor {
void init();
SOCKET init();
void tick(CNServer *, time_t);
void start(void *);
bool acceptConnection(SOCKET, uint16_t);
};