diff options
Diffstat (limited to 'gcc/ada/libgnat/a-convec.adb')
-rw-r--r-- | gcc/ada/libgnat/a-convec.adb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/libgnat/a-convec.adb b/gcc/ada/libgnat/a-convec.adb index e15ab5d..f5e2eb4 100644 --- a/gcc/ada/libgnat/a-convec.adb +++ b/gcc/ada/libgnat/a-convec.adb @@ -294,7 +294,7 @@ package body Ada.Containers.Vectors is (Element => Container.Elements.EA (Position.Index)'Access, Control => (Controlled with TC)) do - Lock (TC.all); + Busy (TC.all); end return; end; end Constant_Reference; @@ -316,7 +316,7 @@ package body Ada.Containers.Vectors is (Element => Container.Elements.EA (Index)'Access, Control => (Controlled with TC)) do - Lock (TC.all); + Busy (TC.all); end return; end; end Constant_Reference; @@ -2293,7 +2293,7 @@ package body Ada.Containers.Vectors is TC : constant Tamper_Counts_Access := Container.TC'Unrestricted_Access; begin return R : constant Reference_Control_Type := (Controlled with TC) do - Lock (TC.all); + Busy (TC.all); end return; end Pseudo_Reference; @@ -2409,7 +2409,7 @@ package body Ada.Containers.Vectors is (Element => Container.Elements.EA (Position.Index)'Access, Control => (Controlled with TC)) do - Lock (TC.all); + Busy (TC.all); end return; end; end Reference; @@ -2431,7 +2431,7 @@ package body Ada.Containers.Vectors is (Element => Container.Elements.EA (Index)'Access, Control => (Controlled with TC)) do - Lock (TC.all); + Busy (TC.all); end return; end; end Reference; |