summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Thread.h
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2002-02-12 17:12:29 +0000
committerMatthew Newhook <matthew@zeroc.com>2002-02-12 17:12:29 +0000
commit4a9851b86fc52af5b629bf06d7a83d29da15d98f (patch)
treec38cd4704a983377274bafeb70f2eebc68aba600 /cpp/include/IceUtil/Thread.h
parentadding IceXML (diff)
downloadice-4a9851b86fc52af5b629bf06d7a83d29da15d98f.tar.bz2
ice-4a9851b86fc52af5b629bf06d7a83d29da15d98f.tar.xz
ice-4a9851b86fc52af5b629bf06d7a83d29da15d98f.zip
Fix some TODO's in IceUtil. IceStorm now uses the new Logger utils.
Diffstat (limited to 'cpp/include/IceUtil/Thread.h')
-rw-r--r--cpp/include/IceUtil/Thread.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/cpp/include/IceUtil/Thread.h b/cpp/include/IceUtil/Thread.h
index 55f1689f73a..0d612ce6b07 100644
--- a/cpp/include/IceUtil/Thread.h
+++ b/cpp/include/IceUtil/Thread.h
@@ -18,21 +18,11 @@ namespace IceUtil
{
#ifdef WIN32
-// TODO: Should not be inlined, not performance critical.
struct HandleWrapper : public Shared
{
- HandleWrapper(HANDLE h) :
- handle(h)
- {
- }
-
- ~HandleWrapper()
- {
- if (handle != 0)
- {
- CloseHandle(handle);
- }
- }
+ HandleWrapper(HANDLE);
+
+ ~HandleWrapper();
HANDLE handle;
};