diff options
Diffstat (limited to 'ace')
-rw-r--r-- | ace/MEM_IO.h | 3 | ||||
-rw-r--r-- | ace/MEM_Stream.h | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/ace/MEM_IO.h b/ace/MEM_IO.h index 0b9fa7c4be6..c4d36ed3172 100644 --- a/ace/MEM_IO.h +++ b/ace/MEM_IO.h @@ -37,6 +37,9 @@ public: /** * Initialize the MEM_SAP object. + * + * @a options is used to pass in the Malloc_Options to initialize + * underlying ACE_MMAP. */ virtual int init (ACE_HANDLE handle, const ACE_TCHAR *name, diff --git a/ace/MEM_Stream.h b/ace/MEM_Stream.h index 24cfbce2733..818c502231e 100644 --- a/ace/MEM_Stream.h +++ b/ace/MEM_Stream.h @@ -34,7 +34,13 @@ class ACE_MEM_Connector; * @brief Defines the methods in the <ACE_MEM_Stream> abstraction. * * This adds additional wrapper methods atop the <ACE_MEM_IO> - * class. + * class. Notice that ACE_MEM_Stream can only send messages no bigger + * than the underlying MMAP file size minus sizeof (ACE_MEM_SAP_Node). + * The size of the MMAP file is default to 4096. If you need to + * increase the size of allowable message ACE_MEM_Stream can handle, + * you can set it to + * @c ACE_MEM_Acceptor::malloc_options(). minimal_bytes_ + * before accepting a connection. */ class ACE_Export ACE_MEM_Stream : public ACE_MEM_IO { |