summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/MemoryPool.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2005-03-06 20:09:43 +0000
committerMarc Laukien <marc@zeroc.com>2005-03-06 20:09:43 +0000
commitdef61b8d87e0a189ac60e3f724974791f14ef714 (patch)
tree635582b93bd10aa805cd0615a26f59b92b0f3456 /cpp/include/IceUtil/MemoryPool.h
parentFixed deadly Sun CC 5.5 bug (diff)
downloadice-def61b8d87e0a189ac60e3f724974791f14ef714.tar.bz2
ice-def61b8d87e0a189ac60e3f724974791f14ef714.tar.xz
ice-def61b8d87e0a189ac60e3f724974791f14ef714.zip
removed MemoryPool.cpp
Diffstat (limited to 'cpp/include/IceUtil/MemoryPool.h')
-rwxr-xr-xcpp/include/IceUtil/MemoryPool.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/cpp/include/IceUtil/MemoryPool.h b/cpp/include/IceUtil/MemoryPool.h
deleted file mode 100755
index e820b9fefc7..00000000000
--- a/cpp/include/IceUtil/MemoryPool.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#ifndef UTIL_MEMORY_POOL_H
-#define UTIL_MEMORY_POOL_H
-
-#include <IceUtil/Mutex.h>
-
-namespace IceUtil
-{
-
-class ICE_UTIL_API SimpleMemoryPool
-{
-public:
-
- SimpleMemoryPool(const char*, int);
-
- void* operatorNew(size_t);
- void operatorDelete(void*);
-
- static void usePool(bool);
- static void traceLevel(int);
-
-protected:
-
- static bool _usePool;
-
-private:
-
- const char* _name;
- const int _num;
-
- void* _pool;
-
- static int _traceLevel;
-};
-
-class ICE_UTIL_API MemoryPool : public SimpleMemoryPool, IceUtil::Mutex
-{
-public:
-
- MemoryPool(const char*, int);
-
- void* operatorNew(size_t);
- void operatorDelete(void*);
-};
-
-}
-
-#endif