bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TimerPort return values


From: Mike Suchoff
Subject: TimerPort return values
Date: Mon, 31 Mar 2003 07:57:00 -0500

TimerPort::getTimer() and TimerPort::getElapsed() are documented as
return -1 when timer is inactive.
However these routines return a timeout_t which is defined as an unsigned
long.

I believe these routines should be documented as returning the value
TIMEOUT_INF when the timer is inactive.  That is, it returns the largest
unsigned 32 bit integer (all 1's).






reply via email to

[Prev in Thread] Current Thread [Next in Thread]