Changeset 004230a in ada-examples for task_priority


Ignore:
Timestamp:
Sep 17, 2009, 6:13:39 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
ada-examples-4-10-branch, master
Children:
7dbdc98
Parents:
51f4331
Message:

2009-09-17 Joel Sherrill <joel.sherrill@…>

  • Makefile, empty.c, task_priority.adb: Make follow standard RTEMS test output format. Add output screens where appropriate.
  • task_priority.scn: New file.
Location:
task_priority
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • task_priority/ChangeLog

    r51f4331 r004230a  
     12009-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile, empty.c, task_priority.adb: Make follow standard RTEMS test
     4        output format. Add output screens where appropriate.
     5        * task_priority.scn: New file.
     6
    172009-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • task_priority/Makefile

    r51f4331 r004230a  
    33#
    44#  See README.Makefiles in the main ada-examples directory.
     5#
     6#  $Id$
    57#
    68
  • task_priority/empty.c

    r51f4331 r004230a  
     1/*
     2 *  $Id$
     3 */
     4
    15#if defined(__rtems__)
    26#include <rtems.h>
  • task_priority/task_priority.adb

    r51f4331 r004230a  
    22--  Demonstrate Task Priority
    33--
    4 --
    5 -- Expected Output:
    6 --    High:  151
    7 --    HighNative: ID=0x0B010004  104
    8 --    Low:  150
    9 --    LowNative: ID=0x0B010003  105
    10 --    High - Waking up
    11 --    High - Waking up
    12 --     ....
    134--
    145--  $Id$
     
    4031   task body High_Task is
    4132   begin
     33     Put_Line ("*** Task Priority Test ***");
    4234     Put_Line ( "High: " & System.Any_Priority'Image (Get_Priority));
    4335     Put ( "HighNative: " );
Note: See TracChangeset for help on using the changeset viewer.