Minor Update:

- BufferCore: Set BufSize as class constant
- TimingCore: Add new function Timeout()
This commit is contained in:
Charl Wentzel
2016-06-02 09:36:08 +02:00
parent 59facdf1bd
commit 630583bbc6
3 changed files with 9 additions and 2 deletions

View File

@@ -49,3 +49,9 @@ long TimePassed( timeval StartTime )
return Duration;
}
//---------------------------------------------------------------------------
bool Timeout( timeval StartTime, long MilliSeconds )
{
return ((TimePassed(StartTime) > MilliSeconds)? true : false);
}
//---------------------------------------------------------------------------