Search Results

Search results 1-1 of 1.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] OS_TIME signed variable?

    makani - - embOS related

    Post

    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