summaryrefslogtreecommitdiff
path: root/ace/Malloc_T.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2002-06-06 12:18:28 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2002-06-06 12:18:28 +0000
commit1ac43a7727fa3a695cec10de45bd00656f2c5ad2 (patch)
treead30476b70918293f7ce1e2036898255bac5a186 /ace/Malloc_T.h
parente05bdcf55ac7f1aabc5bc233c852736647050a54 (diff)
downloadATCD-1ac43a7727fa3a695cec10de45bd00656f2c5ad2.tar.gz
ChangeLogTag:Thu Jun 6 07:11:15 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
Diffstat (limited to 'ace/Malloc_T.h')
-rw-r--r--ace/Malloc_T.h43
1 files changed, 38 insertions, 5 deletions
diff --git a/ace/Malloc_T.h b/ace/Malloc_T.h
index bb6839342fd..7bd81872820 100644
--- a/ace/Malloc_T.h
+++ b/ace/Malloc_T.h
@@ -6,7 +6,8 @@
*
* $Id$
*
- * @author Doug Schmidt and Irfan Pyarali
+ * @author Douglas C. Schmidt <schmidt@cs.wustl.edu> and
+ * Irfan Pyarali <irfan@cs.wustl.edu>
*/
//==========================================================================
@@ -208,9 +209,18 @@ public:
#endif /* ACE_HAS_TEMPLATE_TYPEDEFS */
// = Initialization.
+ /**
+ * Note that <pool_name> should be located in
+ * a directory with the appropriate visibility and protection so
+ * that all processes that need to access it can do so. */
ACE_Allocator_Adapter (const char *pool_name = 0);
- /// Constructor (this has to be inline to avoid bugs with some C++ compilers.
+ /**
+ * Note that <pool_name> should be located in
+ * a directory with the appropriate visibility and protection so
+ * that all processes that need to access it can do so.
+ * This constructor must be inline to avoid bugs with some C++
+ * compilers. */
ACE_Allocator_Adapter (const char *pool_name,
const char *lock_name,
MEMORY_POOL_OPTIONS options = 0)
@@ -222,9 +232,18 @@ public:
}
#if defined (ACE_HAS_WCHAR)
+ /**
+ * Note that <pool_name> should be located in
+ * a directory with the appropriate visibility and protection so
+ * that all processes that need to access it can do so. */
ACE_Allocator_Adapter (const wchar_t *pool_name);
- /// Constructor (this has to be inline to avoid bugs with some C++ compilers.
+ /**
+ * Note that <pool_name> should be located in
+ * a directory with the appropriate visibility and protection so
+ * that all processes that need to access it can do so.
+ * This constructor must be inline to avoid bugs with some C++
+ * compilers. */
ACE_Allocator_Adapter (const wchar_t *pool_name,
const wchar_t *lock_name,
MEMORY_POOL_OPTIONS options = 0)
@@ -404,6 +423,10 @@ public:
* initialize the memory pool, and uses <ACE::basename> to
* automatically extract out the name used for the underlying lock
* name (if necessary).
+ *
+ * Note that <pool_name> should be located in
+ * a directory with the appropriate visibility and protection so
+ * that all processes that need to access it can do so.
*/
ACE_Malloc_T (const ACE_TCHAR *pool_name = 0);
@@ -413,6 +436,11 @@ public:
* extract out the name used for the underlying lock name (if
* necessary). In addition, <options> is passed through to
* initialize the underlying memory pool.
+ *
+ * Note that <pool_name> should be located in
+ * a directory with the appropriate visibility and protection so
+ * that all processes that need to access it can do so.
+ */
*/
ACE_Malloc_T (const ACE_TCHAR *pool_name,
const ACE_TCHAR *lock_name,
@@ -735,7 +763,9 @@ public:
* Initialize ACE_Malloc. This constructor passes <pool_name> to
* initialize the memory pool, and uses <ACE::basename> to
* automatically extract out the name used for the underlying lock
- * name (if necessary).
+ * name (if necessary). Note that <pool_name> should be located in
+ * a directory with the appropriate visibility and protection so
+ * that all processes that need to access it can do so.
*/
ACE_Malloc (const ACE_TCHAR *pool_name = 0);
@@ -744,7 +774,10 @@ public:
* initialize the memory pool, and uses <lock_name> to automatically
* extract out the name used for the underlying lock name (if
* necessary). In addition, <options> is passed through to
- * initialize the underlying memory pool.
+ * initialize the underlying memory pool. Note that <pool_name>
+ * should be located in a directory with the appropriate visibility
+ * and protection so that all processes that need to access it can
+ * do so.
*/
ACE_Malloc (const ACE_TCHAR *pool_name,
const ACE_TCHAR *lock_name,