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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [sync1.adb] - Blame information for rev 378

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

Line No. Rev Author Line
1 304 jeremybenn
--  { dg-do compile }
2
package body sync1 is
3
   protected body Chopstick is
4
 
5
     entry Pick_Up when not Busy is
6
     begin
7
        Busy := True;
8
     end Pick_Up;
9
 
10
     procedure Put_Down is
11
     begin
12
        Busy := False;
13
     end Put_Down;
14
   end Chopstick;
15
end sync1;

powered by: WebSVN 2.1.0

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