diff options
Diffstat (limited to 'docs/tutorials/021/page04.html')
-rw-r--r-- | docs/tutorials/021/page04.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/tutorials/021/page04.html b/docs/tutorials/021/page04.html index 00db7ad203e..16140528689 100644 --- a/docs/tutorials/021/page04.html +++ b/docs/tutorials/021/page04.html @@ -1,3 +1,4 @@ +<!-- $Id$ --> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> @@ -57,7 +58,7 @@ protected: <font color=red>// The name we gave to the pool</font> char *name_; - + pool_t *pool_; }; @@ -94,7 +95,7 @@ public: template takes two parameters.<sup>*</sup> The first is a memory pool class to use. ACE has several, I've choosen one that uses a memory-mapped file. The second parameter is a lock - class of some sort. This is needed so that the ACE_Malloc<> can + class of some sort. This is needed so that the ACE_Malloc<> can protect its internal data. Note that you still have to provide your own mutex around the data you put into the malloc'd area. |