aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/Thread.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/Windows/Thread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/CPP/Windows/Thread.h b/CPP/Windows/Thread.h
index 5fca173..d72f64c 100644
--- a/CPP/Windows/Thread.h
+++ b/CPP/Windows/Thread.h
@@ -1,7 +1,7 @@
1// Windows/Thread.h 1// Windows/Thread.h
2 2
3#ifndef __WINDOWS_THREAD_H 3#ifndef ZIP7_INC_WINDOWS_THREAD_H
4#define __WINDOWS_THREAD_H 4#define ZIP7_INC_WINDOWS_THREAD_H
5 5
6#include "../../C/Threads.h" 6#include "../../C/Threads.h"
7 7
@@ -13,7 +13,7 @@ class CThread MY_UNCOPYABLE
13{ 13{
14 ::CThread thread; 14 ::CThread thread;
15public: 15public:
16 CThread() { Thread_Construct(&thread); } 16 CThread() { Thread_CONSTRUCT(&thread) }
17 ~CThread() { Close(); } 17 ~CThread() { Close(); }
18 bool IsCreated() { return Thread_WasCreated(&thread) != 0; } 18 bool IsCreated() { return Thread_WasCreated(&thread) != 0; }
19 WRes Close() { return Thread_Close(&thread); } 19 WRes Close() { return Thread_Close(&thread); }