summaryrefslogtreecommitdiff
path: root/gcc/ada/s-atocou.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-17 08:42:41 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-17 08:42:41 +0000
commitd234ced52961b77063502d01ed3a306f6373ae17 (patch)
tree7635a8604e038a607885229eb96aee7a0317ba4e /gcc/ada/s-atocou.ads
parent8672122d47967bf3c328ed772e62f5f0303f007a (diff)
downloadgcc-d234ced52961b77063502d01ed3a306f6373ae17.tar.gz
2014-10-17 Robert Dewar <dewar@adacore.com>
* sem_util.adb: Minor reformatting. 2014-10-17 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb (Build_Function_Wrapper): Build wrappers for actuals that are defaulted subprograms of the formal subprogram declaration. 2014-10-17 Robert Dewar <dewar@adacore.com> * exp_ch4.adb (Expand_N_Op_Eq): Make sure we deal with the implementation base type. * sinfo.ads: Add a note for N_Op_Eq and N_Op_Ne that record operands are always expanded out into component comparisons. 2014-10-17 Robert Dewar <dewar@adacore.com> * s-vallli.adb: Minor comment correction. * s-valuti.ads: Minor comment reformatting. 2014-10-17 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Document System.Atomic_Counters. * impunit.adb: Add System.Atomic_Counters (s-atocou.ads) to the list of user- accessible units added as children of System. * s-atocou.ads: Update comment. 2014-10-17 Arnaud Charlet <charlet@adacore.com> * s-expmod.ads: Add comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216371 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-atocou.ads')
-rw-r--r--gcc/ada/s-atocou.ads11
1 files changed, 4 insertions, 7 deletions
diff --git a/gcc/ada/s-atocou.ads b/gcc/ada/s-atocou.ads
index 55d6bf0ece8..a2e6d897efb 100644
--- a/gcc/ada/s-atocou.ads
+++ b/gcc/ada/s-atocou.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2011-2013, Free Software Foundation, Inc. --
+-- Copyright (C) 2011-2014, Free Software Foundation, Inc. --
-- --
-- GNAT 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- --
@@ -37,8 +37,6 @@
-- - all x86 platforms
-- - all x86_64 platforms
--- Why isn't this package available to application programs???
-
package System.Atomic_Counters is
pragma Preelaborate;
@@ -59,20 +57,19 @@ package System.Atomic_Counters is
function Decrement (Item : in out Atomic_Counter) return Boolean;
pragma Inline_Always (Decrement);
- -- Decrements value of atomic counter, returns True when value reach zero.
+ -- Decrements value of atomic counter, returns True when value reach zero
function Is_One (Item : Atomic_Counter) return Boolean;
pragma Inline_Always (Is_One);
- -- Returns True when value of the atomic counter is one.
+ -- Returns True when value of the atomic counter is one
procedure Initialize (Item : out Atomic_Counter);
pragma Inline_Always (Initialize);
-- Initialize counter by setting its value to one. This subprogram is
- -- intended to be used in special cases when counter object can't be
+ -- intended to be used in special cases when the counter object cannot be
-- initialized in standard way.
private
-
type Unsigned_32 is mod 2 ** 32;
type Atomic_Counter is limited record