Minor Update:
- BufferCore: Set BufSize as class constant - TimingCore: Add new function Timeout()
This commit is contained in:
@@ -49,3 +49,9 @@ long TimePassed( timeval StartTime )
|
||||
return Duration;
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
bool Timeout( timeval StartTime, long MilliSeconds )
|
||||
{
|
||||
return ((TimePassed(StartTime) > MilliSeconds)? true : false);
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user