add missing documentation; properly annotate time value; add missing thread join wait;

pull/49/head
Bryan Biedenkapp 2 years ago
parent 4632bfb4b9
commit b28c685ee3

@ -189,7 +189,7 @@ int HostFNE::run()
if (m_network != nullptr) {
while (!g_killed) {
m_network->processNetwork();
Thread::sleep(5);
Thread::sleep(5U);
}
}
});
@ -226,6 +226,9 @@ int HostFNE::run()
Thread::sleep(1U);
}
// shutdown threads
networkLoop.wait();
if (m_network != nullptr) {
m_network->close();
delete m_network;

@ -145,7 +145,7 @@ namespace network
// ---------------------------------------------------------------------------
// Structure Declaration
//
// Represents the data required for a peer ACL update request thread.
// ---------------------------------------------------------------------------
struct ACLUpdateRequest {

Loading…
Cancel
Save

Powered by TurnKey Linux.