Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Windows/Thread.h')
-rwxr-xr-xCPP/Windows/Thread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/CPP/Windows/Thread.h b/CPP/Windows/Thread.h
index a46a5688..59760d4d 100755
--- a/CPP/Windows/Thread.h
+++ b/CPP/Windows/Thread.h
@@ -19,10 +19,10 @@ public:
CThread() { Thread_Construct(&thread); }
~CThread() { Close(); }
bool IsCreated() { return Thread_WasCreated(&thread) != 0; }
- HRes Close() { return Thread_Close(&thread); }
- HRes Create(THREAD_FUNC_RET_TYPE (THREAD_FUNC_CALL_TYPE *startAddress)(void *), LPVOID parameter)
+ WRes Close() { return Thread_Close(&thread); }
+ WRes Create(THREAD_FUNC_RET_TYPE (THREAD_FUNC_CALL_TYPE *startAddress)(void *), LPVOID parameter)
{ return Thread_Create(&thread, startAddress, parameter); }
- HRes Wait() { return Thread_Wait(&thread); }
+ WRes Wait() { return Thread_Wait(&thread); }
#ifdef _WIN32
DWORD Resume() { return ::ResumeThread(thread.handle); }