summaryrefslogtreecommitdiff
path: root/docs/tutorials/021/mpool.cpp
diff options
context:
space:
mode:
authorjcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-22 03:14:02 +0000
committerjcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-22 03:14:02 +0000
commit251cb77e8da6e2c956a6fe929e3e6a0b0c3397fa (patch)
tree4b2fe438c5cd19dad7e9527174220e7fcc9daa4b /docs/tutorials/021/mpool.cpp
parent1273cca419871e8c04554dbf4b538f69453b3955 (diff)
downloadATCD-251cb77e8da6e2c956a6fe929e3e6a0b0c3397fa.tar.gz
*** empty log message ***
Diffstat (limited to 'docs/tutorials/021/mpool.cpp')
-rw-r--r--docs/tutorials/021/mpool.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorials/021/mpool.cpp b/docs/tutorials/021/mpool.cpp
index 8b7654cf125..7e55555e5bb 100644
--- a/docs/tutorials/021/mpool.cpp
+++ b/docs/tutorials/021/mpool.cpp
@@ -1,5 +1,5 @@
-// $Id$
+// $Id$
#include "mpool.h"
@@ -50,11 +50,11 @@ Allocator::~Allocator (void)
exception!
The other concern is thread safety. If two threads call here at
about the same time, we may create the pool twice. We can't use a
- Singleton because we want to have multiple Allocator instances. The
+ Singleton because we want to have multiple Allocator instances. The
Singleton techniques can be used though.
*/
-Allocator::pool_t &
+Allocator::pool_t &
Allocator::pool (void)
{
if (pool_ == 0)