timeout

Paul Whitfield paulw at omnitronics.com.au
Tue Nov 30 23:59:02 UTC 2004


Steve Holle wrote:
> What are the units for the timeout value in the 
> rtems_message_queue_receive routine are?  I've checked the wiki and 
> documentation with no luck.
> 

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.

See Key Concepts page in the manual on time for more information.

http://www.rtems.com/onlinedocs/releases/rtemsdocs-4.6.2/share/rtems/html/c_user/c_user00018.html

For more information about ticks.

And "real" time per tick is
CONFIGURE_MICROSECONDS_PER_TICK in confdefs.h
It defaults to 10 milliseconds per tick.

See:
http://www.rtems.com/onlinedocs/releases/rtemsdocs-4.6.2/share/rtems/html/c_user/c_user00376.html

Hope that helps.

Paul



More information about the users mailing list