diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-11-18 05:54:02 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-11-18 05:54:02 +0000 |
commit | 4e1ea61b03f1ab4381ac37bc4e120da5a9274935 (patch) | |
tree | cde7375ab731480e87063a290e3acfa268202cec /ace/Memory_Pool.cpp | |
parent | 49b9bff0b802ddb9f47813e99567bbbe8bc7c25f (diff) | |
download | ATCD-4e1ea61b03f1ab4381ac37bc4e120da5a9274935.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Memory_Pool.cpp')
-rw-r--r-- | ace/Memory_Pool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Memory_Pool.cpp b/ace/Memory_Pool.cpp index 483779e7f4c..c60e43dda4f 100644 --- a/ace/Memory_Pool.cpp +++ b/ace/Memory_Pool.cpp @@ -596,6 +596,7 @@ ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool (LPCTSTR backing_store_name, const OPTIONS *options) : base_addr_ (0), file_perms_ (ACE_DEFAULT_FILE_PERMS), + minimum_bytes_ (0), max_segments_ (ACE_DEFAULT_MAX_SEGMENTS) { ACE_TRACE ("ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool"); @@ -649,7 +650,6 @@ ACE_Shared_Memory_Pool::init_acquire (size_t nbytes, { ACE_TRACE ("ACE_Shared_Memory_Pool::init_acquire"); - size_t counter; off_t shm_table_offset = ACE::round_to_pagesize (sizeof (SHM_TABLE)); rounded_bytes = this->round_up (nbytes > (size_t) this->minimum_bytes_ ? nbytes @@ -698,7 +698,7 @@ ACE_Shared_Memory_Pool::init_acquire (size_t nbytes, st[0].used_ = 1; - for (counter = 1; // Skip over the first entry... + for (size_t counter = 1; // Skip over the first entry... counter < this->max_segments_; counter++) { |