Hi,
is there a reason why OS_TIME in embOS is designed as a signed variable?
In most operating systems, unsigned times are used (e.g. GetTickCount(), clock_gettime(),...).
Beside the (usually insignificant) reason that maximum timeouts are only half of unsigned timers, I always need to check for timer overflows myself when working with time differences?! X(
Or am I am getting something wrong? :wacko:
regards
Martin
is there a reason why OS_TIME in embOS is designed as a signed variable?
In most operating systems, unsigned times are used (e.g. GetTickCount(), clock_gettime(),...).
Beside the (usually insignificant) reason that maximum timeouts are only half of unsigned timers, I always need to check for timer overflows myself when working with time differences?! X(
Or am I am getting something wrong? :wacko:
regards
Martin