summaryrefslogtreecommitdiff
path: root/src/htsthread.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-03-19 12:57:43 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-03-19 12:57:43 +0000
commit64cc4a88da8887ef1f7f4d90be0158d2cc76222d (patch)
treee72af709fbce8bc495f51e7f0518de9a9a2c3b7f /src/htsthread.h
parent844ecc37072d515513177c65a8c9dc35c9cdfc1a (diff)
httrack 3.40.4
Diffstat (limited to 'src/htsthread.h')
-rw-r--r--src/htsthread.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/htsthread.h b/src/htsthread.h
index cac48de..f62c39c 100644
--- a/src/htsthread.h
+++ b/src/htsthread.h
@@ -58,7 +58,6 @@ Please visit our Website: http://www.httrack.com
#define PTHREAD_TYPE_FNC __cdecl
#define PTHREAD_LOCK_TYPE HANDLE
#define PTHREAD_HANDLE HANDLE
-#define PTHREAD_WAIT_THREAD(A) do { WaitForSingleObject(A, INFINITE); CloseHandle(A); } while(0)
/* Useless - see '__declspec( thread )' */
@@ -82,7 +81,6 @@ Please visit our Website: http://www.httrack.com
#define PTHREAD_KEY_SET(key, val, ptrtype) pthread_setspecific(key, (void*)val)
#define PTHREAD_KEY_GET(key, ptrval, ptrtype) do { *(ptrval)=(ptrtype)pthread_getspecific(key); } while(0)
#define PTHREAD_HANDLE pthread_t
-#define PTHREAD_WAIT_THREAD(A) do { pthread_join(A, NULL); CloseHandle(A); } while(0)
#endif