Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6611da37
Commit
6611da37
authored
Sep 10, 2010
by
Arnaud Charlet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comments.
From-SVN: r164196
parent
f2e7ec10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/ada/a-strunb-shared.ads
+6
-6
No files found.
gcc/ada/a-strunb-shared.ads
View file @
6611da37
...
...
@@ -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 thre
a
shold.
-- -
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
-- al
l
ign 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
no
t
-- 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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment