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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gnat.dg/] [test_prio_p.ads] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
with System; with Unchecked_Conversion;
2
package test_prio_p is
3
   type Task_Priority_T is new Natural;
4
   function Convert_To_System_Priority is
5
   new Unchecked_Conversion (Task_Priority_T, System.Priority);
6
   protected type Protected_Queue_T( PO_Priority : Task_Priority_T ) is
7
      pragma Priority (Convert_To_System_Priority (PO_Priority ));
8
      entry Seize;
9
   end Protected_Queue_T;
10
   Sema1 : protected_Queue_T (5);
11
   Sema2 : protected_Queue_T (10);
12
end test_prio_p;

powered by: WebSVN 2.1.0

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