Added switch delay and double-tap options to win32 and added a

tray icon to the client and server that gives status feedback to
the user and allows the user to kill the app.
This commit is contained in:
crs
2003-03-12 22:34:07 +00:00
parent f411df65fb
commit 1d17f865ea
82 changed files with 4420 additions and 396 deletions

View File

@@ -97,10 +97,16 @@ CThread::wait(double timeout) const
return ARCH->wait(m_thread, timeout);
}
bool
CThread::waitForEvent(double timeout)
CThread::EWaitResult
CThread::waitForEvent(double timeout) const
{
return ARCH->waitForEvent(timeout);
// IArchMultithread EWaitResults map directly to our EWaitResults
static const EWaitResult s_map[] = {
kEvent,
kExit,
kTimeout
};
return s_map[ARCH->waitForEvent(m_thread, timeout)];
}
void*