summaryrefslogtreecommitdiff
path: root/win32/win32thread.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-29 14:39:54 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-29 14:39:54 +0000
commit46930d8f1568c61dcd2ab37f6a2924dc79596ffc (patch)
tree67e8f7c0f338abbf9de51ffbb7fb9b3377619934 /win32/win32thread.h
parent25f62d1c923a0e842a23489d92db1990acf9c23b (diff)
downloadperl-46930d8f1568c61dcd2ab37f6a2924dc79596ffc.tar.gz
Remove global macro "self". Change thr->Tself to thr->self.
p4raw-id: //depot/perl@190
Diffstat (limited to 'win32/win32thread.h')
-rw-r--r--win32/win32thread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32thread.h b/win32/win32thread.h
index 46e0a58fb6..ab0dbc598f 100644
--- a/win32/win32thread.h
+++ b/win32/win32thread.h
@@ -72,7 +72,7 @@ typedef HANDLE perl_thread;
#define DETACH(t) \
STMT_START { \
- if (CloseHandle((t)->Tself) == 0) { \
+ if (CloseHandle((t)->self) == 0) { \
MUTEX_UNLOCK(&(t)->mutex); \
croak("panic: DETACH"); \
} \
@@ -84,8 +84,8 @@ typedef HANDLE perl_thread;
#define JOIN(t, avp) \
STMT_START { \
- if ((WaitForSingleObject((t)->Tself,INFINITE) == WAIT_FAILED) \
- || (GetExitCodeThread((t)->Tself,(LPDWORD)(avp)) == 0)) \
+ if ((WaitForSingleObject((t)->self,INFINITE) == WAIT_FAILED) \
+ || (GetExitCodeThread((t)->self,(LPDWORD)(avp)) == 0)) \
croak("panic: JOIN"); \
} STMT_END