summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-27 19:41:12 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-27 19:41:12 +0000
commitf569be696a9c37846c51236fb4c54b761c7da63a (patch)
tree188a0a950d5ed681584be431f9f2dc4c56f8e15f /ace
parentb726e2af6cc1902c78f15244bcf04efca58366d6 (diff)
downloadATCD-f569be696a9c37846c51236fb4c54b761c7da63a.tar.gz
ChangeLogTag:Sun Apr 27 14:39:00 2003 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace')
-rw-r--r--ace/MEM_IO.h3
-rw-r--r--ace/MEM_Stream.h8
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
{