From 11b1c2b916d25a67f6eecc13a4944ecd3c3f1f18 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Thu, 4 Mar 2010 19:10:31 +0000 Subject: [PATCH] fix for server operation on Mac --- src/server.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index 79ce2f52..2d283360 100755 --- a/src/server.cpp +++ b/src/server.cpp @@ -67,11 +67,8 @@ void CHighPrecisionTimer::Stop() // set flag so that thread can leave the main loop bRun = false; -// TODO (since for the server the stopping is not critical, we -// can live with not to have a nice thread terminating for now) -// TODO the wait is not a good solution -// // give thread some time to terminate -// wait ( 5000 ); + // give thread some time to terminate + wait ( 5000 ); } void CHighPrecisionTimer::run() @@ -369,7 +366,7 @@ void CServer::OnTimer() { int i, j; - CVector vecChanID; + CVector vecChanID; CVector > vecvecdGains; CVector > vecvecsData;