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

@@ -16,6 +16,7 @@
#include "CThread.h"
#include "TMethodJob.h"
#include "CLog.h"
#include "CArch.h"
//
// CTimerThread
@@ -50,7 +51,7 @@ void
CTimerThread::timer(void*)
{
LOG((CLOG_DEBUG1 "timeout in %f seconds", m_timeout));
CThread::sleep(m_timeout);
ARCH->sleep(m_timeout);
LOG((CLOG_DEBUG1 "timeout"));
m_callingThread->cancel();
}