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 'C/Threads.h')
-rwxr-xr-xC/Threads.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/C/Threads.h b/C/Threads.h
index 03bea106..a823e578 100755
--- a/C/Threads.h
+++ b/C/Threads.h
@@ -1,13 +1,9 @@
/* Threads.h -- multithreading library
-2008-04-11
-Igor Pavlov
-Public domain */
+2008-11-22 : Igor Pavlov : Public domain */
#ifndef __7Z_THRESDS_H
#define __7Z_THRESDS_H
-#include <windows.h>
-
#include "Types.h"
typedef struct _CThread
@@ -22,8 +18,6 @@ typedef unsigned THREAD_FUNC_RET_TYPE;
#define THREAD_FUNC_CALL_TYPE MY_STD_CALL
#define THREAD_FUNC_DECL THREAD_FUNC_RET_TYPE THREAD_FUNC_CALL_TYPE
-typedef DWORD WRes;
-
WRes Thread_Create(CThread *thread, THREAD_FUNC_RET_TYPE (THREAD_FUNC_CALL_TYPE *startAddress)(void *), LPVOID parameter);
WRes Thread_Wait(CThread *thread);
WRes Thread_Close(CThread *thread);