OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [ada/] [a-dynpri.ads] - Blame information for rev 729

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 706 jeremybenn
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT RUN-TIME COMPONENTS                         --
4
--                                                                          --
5
--               A D A . D Y N A M I C _ P R I O R I T I E S                --
6
--                                                                          --
7
--                                 S p e c                                  --
8
--                                                                          --
9
-- This specification is derived from the Ada Reference Manual for use with --
10
-- GNAT.  In accordance with the copyright of that document, you can freely --
11
-- copy and modify this specification,  provided that if you redistribute a --
12
-- modified version,  any changes that you have made are clearly indicated. --
13
--                                                                          --
14
------------------------------------------------------------------------------
15
 
16
with System;
17
with Ada.Task_Identification;
18
 
19
package Ada.Dynamic_Priorities is
20
   pragma Preelaborate_05;
21
   --  In accordance with Ada 2005 AI-362
22
 
23
   procedure Set_Priority
24
     (Priority : System.Any_Priority;
25
      T        : Ada.Task_Identification.Task_Id :=
26
                   Ada.Task_Identification.Current_Task);
27
 
28
   function Get_Priority
29
     (T        : Ada.Task_Identification.Task_Id :=
30
                   Ada.Task_Identification.Current_Task)
31
     return System.Any_Priority;
32
 
33
end Ada.Dynamic_Priorities;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.