aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext/mt_allocator.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-08-31 19:52:16 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2006-08-31 19:52:16 +0000
commite282a2bc9f65e7476487a3e4e4e3476c20407c4e (patch)
tree2344d80026581a0f5dfde71c581680dff1eeed13 /libstdc++-v3/include/ext/mt_allocator.h
parent1e5787ef86dd68d1e332eee116d1bc92c17aae44 (diff)
downloadgcc-e282a2bc9f65e7476487a3e4e4e3476c20407c4e.zip
gcc-e282a2bc9f65e7476487a3e4e4e3476c20407c4e.tar.gz
gcc-e282a2bc9f65e7476487a3e4e4e3476c20407c4e.tar.bz2
mt_allocator.h: Remove volatile qualifiers from data members and corresponding locals and...
2006-08-31 Richard Guenther <rguenther@suse.de> * include/ext/mt_allocator.h: Remove volatile qualifiers from data members and corresponding locals and function signatures. From-SVN: r116606
Diffstat (limited to 'libstdc++-v3/include/ext/mt_allocator.h')
-rw-r--r--libstdc++-v3/include/ext/mt_allocator.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h
index 07de3ed..ae20d16 100644
--- a/libstdc++-v3/include/ext/mt_allocator.h
+++ b/libstdc++-v3/include/ext/mt_allocator.h
@@ -195,13 +195,13 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
union _Block_record
{
// Points to the block_record of the next free block.
- _Block_record* volatile _M_next;
+ _Block_record* _M_next;
};
struct _Bin_record
{
// An "array" of pointers to the first free block.
- _Block_record** volatile _M_first;
+ _Block_record** _M_first;
// A list of the initial addresses of all allocated blocks.
_Block_address* _M_address;
@@ -244,7 +244,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
// An "array" of bin_records each of which represents a specific
// power of 2 size. Memory to this "array" is allocated in
// _M_initialize().
- _Bin_record* volatile _M_bin;
+ _Bin_record* _M_bin;
// Actual value calculated in _M_initialize().
size_t _M_bin_size;
@@ -271,7 +271,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
struct _Thread_record
{
// Points to next free thread id record. NULL if last record in list.
- _Thread_record* volatile _M_next;
+ _Thread_record* _M_next;
// Thread id ranging from 1 to _S_max_threads.
size_t _M_id;
@@ -280,7 +280,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
union _Block_record
{
// Points to the block_record of the next free block.
- _Block_record* volatile _M_next;
+ _Block_record* _M_next;
// The thread id of the thread which has requested this block.
size_t _M_thread_id;
@@ -291,7 +291,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
// An "array" of pointers to the first free block for each
// thread id. Memory to this "array" is allocated in
// _S_initialize() for _S_max_threads + global pool 0.
- _Block_record** volatile _M_first;
+ _Block_record** _M_first;
// A list of the initial addresses of all allocated blocks.
_Block_address* _M_address;
@@ -300,8 +300,8 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
// blocks that are on the freelist/used for each thread id.
// Memory to these "arrays" is allocated in _S_initialize() for
// _S_max_threads + global pool 0.
- size_t* volatile _M_free;
- size_t* volatile _M_used;
+ size_t* _M_free;
+ size_t* _M_used;
// Each bin has its own mutex which is used to ensure data
// integrity while changing "ownership" on a block. The mutex
@@ -365,7 +365,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
// An "array" of bin_records each of which represents a specific
// power of 2 size. Memory to this "array" is allocated in
// _M_initialize().
- _Bin_record* volatile _M_bin;
+ _Bin_record* _M_bin;
// Actual value calculated in _M_initialize().
size_t _M_bin_size;