[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
timeout
- Date: Wed, 01 Dec 2004 11:12:56 +1100
- From: chrisj at rtems.org (Chris Johns)
- Subject: 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
- References:
- timeout
- From: sholle at link-comm.com (Steve Holle)
- timeout
- From: paulw at omnitronics.com.au (Paul Whitfield)