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

timeout



Paul Whitfield wrote:
> 
> RTEMS ticks... and you are quite correct, it does not state
> that on the manual page. However, for all "classic" rtems calls
> that block with a time-out parameter the time-out is in ticks.
> 

I tend to use:

   TOD_MICROSECONDS_TO_TICKS ()

For example:

  /* 1 second pause. */
  rtems_task_wake_after (TOD_MICROSECONDS_TO_TICKS (1000000));

-- 
  Chris Johns