OAR

RTEMS 4.5.1-pre3 On-Line Library


Key Concepts Object Names

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

2.2.1: Object Names

An object name is an unsigned thirty-two bit entity associated with the object by the user. The data type rtems.name is used to store object names.

Although not required by RTEMS, object names are often composed of four ASCII characters which help identify that object. For example, a task which causes a light to blink might be called "LITE". The rtems.build_name routine is provided to build an object name from four ASCII characters.

However, it is not required that the application use ASCII characters to build object names. For example, if an application requires one-hundred tasks, it would be difficult to assign meaningful ASCII names to each task. A more convenient approach would be to name them the binary values one through one-hundred, respectively.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2000 OAR Corporation