diff options
| author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-10 15:58:15 +0000 |
|---|---|---|
| committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-10 15:58:15 +0000 |
| commit | 986973ca39d62f0f9f760d182bc73a030baf2523 (patch) | |
| tree | c360f8fde3e8e54ef8fa11fb31e680cde1f9ca74 | |
| parent | bef6f73c106ef8381cf10c52ef61a3d3cd309b96 (diff) | |
| download | ppe42-gcc-986973ca39d62f0f9f760d182bc73a030baf2523.tar.gz ppe42-gcc-986973ca39d62f0f9f760d182bc73a030baf2523.zip | |
Update comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164196 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ada/a-strunb-shared.ads | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ada/a-strunb-shared.ads b/gcc/ada/a-strunb-shared.ads index b4b7c622759..cbeae34fd98 100644 --- a/gcc/ada/a-strunb-shared.ads +++ b/gcc/ada/a-strunb-shared.ads @@ -55,19 +55,19 @@ -- - Object mutation. Shared data object can be reused without memory -- reallocation when all of the following requirements are met: - -- - shared data object is no longer used by anyone else. - -- - the size is sufficient to store new value. - -- - the gap after reuse is less then a defined threashold. + -- - the shared data object is no longer used by anyone else; + -- - the size is sufficient to store the new value; + -- - the gap after reuse is less then a defined threshold. -- - Memory preallocation. Most of used memory allocation algorithms - -- allign allocated segments on the some boundary, thus some amount of + -- align allocated segments on the some boundary, thus some amount of -- additional memory can be preallocated without any impact. Such -- preallocated memory can used later by Append/Insert operations -- without reallocation. -- Reference counting uses GCC builtin atomic operations, which allows to - -- safely share internal data between Ada tasks. Nevertheless, this not - -- make objects of Unbounded_String thread-safe, so each instance can't be + -- safely share internal data between Ada tasks. Nevertheless, this doesn't + -- make objects of Unbounded_String thread-safe: each instance can't be -- accessed by several tasks simulatenously. with Ada.Strings.Maps; |

