The monitor is initialized by calling rtems_monitor_init
. When
initialized, the monitor is created as an independent task. An example
of initializing the monitor is shown below:
#include <rtems/monitor.h> ... rtems_monitor_init(0);
The "0" parameter to the rtems_monitor_init
routine
causes the monitor to immediately enter command mode.
This parameter is a bitfield. If the monitor is to suspend
itself on startup, then the RTEMS_MONITOR_SUSPEND
bit
should be set.
Copyright © 1988-2007OAR Corporation