summaryrefslogtreecommitdiff
path: root/gcc/ada/s-taspri-vxworks.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-taspri-vxworks.ads')
-rw-r--r--gcc/ada/s-taspri-vxworks.ads5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/s-taspri-vxworks.ads b/gcc/ada/s-taspri-vxworks.ads
index 8662ac6fa9b..d1d676bf0c3 100644
--- a/gcc/ada/s-taspri-vxworks.ads
+++ b/gcc/ada/s-taspri-vxworks.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2001-2009, Free Software Foundation, Inc. --
+-- Copyright (C) 2001-2011, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -41,6 +41,7 @@ package System.Task_Primitives is
pragma Preelaborate;
type Lock is limited private;
+ type RW_Lock is limited private;
-- Should be used for implementation of protected objects
type RTS_Lock is limited private;
@@ -84,6 +85,8 @@ private
-- Priority ceiling of lock
end record;
+ type RW_Lock is new Lock;
+
type RTS_Lock is new Lock;
type Suspension_Object is record