1 #include <system_def.h>
6 #include <rtems/untar.h>
7 #include <rtems/error.h>
8 #include <rtems/mw_uid.h>
13 rtems_task_argument argument
17 int id = (int)argument;
18 rtems_status_code status;
19 printf("*** Starting up Task_%d ***\n", id);
22 printf("Task_%d woken\n", id);
23 status = rtems_task_wake_after(rtems_clock_get_ticks_per_second());
24 check_rtems_status( status, 0, "rtems_task_wake_after" );
26 printf("*** Suspend Task_%d ***\n", id);
27 rtems_task_suspend( RTEMS_SELF );