diff options
Diffstat (limited to 'win32/win32thread.h')
-rw-r--r-- | win32/win32thread.h | 6 |
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 |