URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 384 |
-- { dg-do run }
|
-- { dg-do run }
|
-- { dg-options "-gnatws" }
|
-- { dg-options "-gnatws" }
|
|
|
pragma Locking_Policy (Ceiling_Locking);
|
pragma Locking_Policy (Ceiling_Locking);
|
with test_prio_p;use test_prio_p;
|
with test_prio_p;use test_prio_p;
|
with text_io; use text_io;
|
with text_io; use text_io;
|
procedure Test_Prio is
|
procedure Test_Prio is
|
task Tsk is
|
task Tsk is
|
pragma Priority (10);
|
pragma Priority (10);
|
end Tsk;
|
end Tsk;
|
task body Tsk is
|
task body Tsk is
|
begin
|
begin
|
Sema2.Seize;
|
Sema2.Seize;
|
Sema1.Seize;
|
Sema1.Seize;
|
Put_Line ("error");
|
Put_Line ("error");
|
exception
|
exception
|
when Program_Error => null; -- OK
|
when Program_Error => null; -- OK
|
end;
|
end;
|
begin
|
begin
|
null;
|
null;
|
end;
|
end;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.