OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gnat.dg/] [sync1.adb] - Diff between revs 304 and 338

Only display areas with differences | Details | Blame | View Log

Rev 304 Rev 338
--  { dg-do compile }
--  { dg-do compile }
package body sync1 is
package body sync1 is
   protected body Chopstick is
   protected body Chopstick is
 
 
     entry Pick_Up when not Busy is
     entry Pick_Up when not Busy is
     begin
     begin
        Busy := True;
        Busy := True;
     end Pick_Up;
     end Pick_Up;
 
 
     procedure Put_Down is
     procedure Put_Down is
     begin
     begin
        Busy := False;
        Busy := False;
     end Put_Down;
     end Put_Down;
   end Chopstick;
   end Chopstick;
end sync1;
end sync1;
 
 

powered by: WebSVN 2.1.0

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