Fixed multithread sync issue and duplicate thread on termination.

This commit is contained in:
Brad Arant committed 2023-03-11 21:55:33 -08:00
1 parent b0118cfc56
commit cfa70c5863
72 files changed
+395 -427

No files matched your search

+7
View File
@@ -117,6 +117,9 @@ namespace core {
volatile bool shutDown = false;
void enableSocket();
void disableSocket();
protected:
EPoll &ePoll; // The EPoll control object.
@@ -189,6 +192,10 @@ namespace core {
std::queue<std::string> fifo;
void resetSocket();
std::mutex lock;
};
}