diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-02-10 21:39:23 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-02-10 21:39:23 +0000 |
commit | 1e7e0008f964df00a2ada749584509b3081659e0 (patch) | |
tree | c5b56ac8d72a61146cfd521f81edb3760709eefb /ace/Memory_Pool.cpp | |
parent | f42325d6844e72e38414fcf08d90b06dec92821b (diff) | |
download | ATCD-1e7e0008f964df00a2ada749584509b3081659e0.tar.gz |
foo
Diffstat (limited to 'ace/Memory_Pool.cpp')
-rw-r--r-- | ace/Memory_Pool.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/Memory_Pool.cpp b/ace/Memory_Pool.cpp index bebff7635f9..cc42d2f3aa4 100644 --- a/ace/Memory_Pool.cpp +++ b/ace/Memory_Pool.cpp @@ -120,6 +120,8 @@ ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool (LPCTSTR backing_store_name, } this->write_each_page_ = options->write_each_page_; this->minimum_bytes_ = options->minimum_bytes_; + if (options->flags_ != 0) + this->flags_ = options->flags_; } if (backing_store_name == 0) @@ -287,11 +289,13 @@ ACE_MMAP_Memory_Pool::remap (void *addr) ACE_MMAP_Memory_Pool_Options::ACE_MMAP_Memory_Pool_Options (void *base_addr, int use_fixed_addr, int write_each_page, - int minimum_bytes) + int minimum_bytes, + u_int flags) : base_addr_ (base_addr), use_fixed_addr_ (use_fixed_addr), write_each_page_ (write_each_page), - minimum_bytes_ (minimum_bytes) + minimum_bytes_ (minimum_bytes), + flags_ (flags) { ACE_TRACE ("ACE_MMAP_Memory_Pool_Options::ACE_MMAP_Memory_Pool_Options"); } |