mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-06 23:04:10 +00:00
Code cleanups.
This commit is contained in:
parent
47fac16a70
commit
02e126604f
14 changed files with 340 additions and 18 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#include "StopWatch.h"
|
||||
#include "Network.h"
|
||||
#include "Version.h"
|
||||
#include "Thread.h"
|
||||
#include "Log.h"
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
|
|
@ -300,13 +301,8 @@ void CYSFReflector::run()
|
|||
dumpTimer.start();
|
||||
}
|
||||
|
||||
if (ms < 5U) {
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
::Sleep(5UL); // 5ms
|
||||
#else
|
||||
::usleep(5000); // 5ms
|
||||
#endif
|
||||
}
|
||||
if (ms < 5U)
|
||||
CThread::sleep(5U);
|
||||
}
|
||||
|
||||
network.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue