Refactored some platform dependent code into a new library,

lib/arch.  This should make porting easier.  Will probably
continue to refactor a little more, moving platform dependent
event handling stuff into lib/platform.
This commit is contained in:
crs
2003-01-04 22:01:32 +00:00
parent 62303391a8
commit f65921bc3f
169 changed files with 9676 additions and 5601 deletions

View File

@@ -36,6 +36,7 @@
#include "CLog.h"
#include "CStopwatch.h"
#include "TMethodJob.h"
#include "CArch.h"
//
// CClient
@@ -545,7 +546,7 @@ CClient::runServer()
break;
}
catch (XSocketConnect& e) {
LOG((CLOG_DEBUG1 "failed to connect to server: %s", e.getErrstr()));
LOG((CLOG_DEBUG1 "failed to connect to server: %s", e.what()));
// failed to connect. if not camping then rethrow.
if (!m_camp) {
@@ -553,7 +554,7 @@ CClient::runServer()
}
// we're camping. wait a bit before retrying
CThread::sleep(15.0);
ARCH->sleep(15.0);
}
}