summaryrefslogtreecommitdiff
path: root/win32/win32thread.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1997-11-25 20:32:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>1997-11-25 20:32:12 +0000
commit0372dfcfb12b34b2d22f799e7534240631131ef3 (patch)
tree476df90fb38ec74c673236a5f450684ab19c9f32 /win32/win32thread.h
parentd8b5173a253b0e32501b412922cc7aba3e1c7072 (diff)
parentfb54173c01796b37b2259a6538d910d610b2edbb (diff)
downloadperl-0372dfcfb12b34b2d22f799e7534240631131ef3.tar.gz
[win32] reverse integrate mainline
p4raw-id: //depot/win32/perl@302
Diffstat (limited to 'win32/win32thread.h')
-rw-r--r--win32/win32thread.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/win32/win32thread.h b/win32/win32thread.h
index 38e66e9fc9..591184b007 100644
--- a/win32/win32thread.h
+++ b/win32/win32thread.h
@@ -2,7 +2,7 @@
#define _WIN32THREAD_H
typedef struct win32_cond { LONG waiters; HANDLE sem; } perl_cond;
typedef DWORD perl_key;
-typedef HANDLE perl_thread;
+typedef HANDLE perl_os_thread;
#ifndef DONT_USE_CRITICAL_SECTION
@@ -109,7 +109,7 @@ typedef THREAD_RET_TYPE thread_func_t(void *);
START_EXTERN_C
#if defined(PERLDLL) && (!defined(__BORLANDC__) || defined(_DLL))
-extern __declspec(thread) struct thread *Perl_current_thread;
+extern __declspec(thread) struct perl_thread *Perl_current_thread;
#define SET_THR(t) (Perl_current_thread = t)
#define THR Perl_current_thread
#else
@@ -118,10 +118,10 @@ extern __declspec(thread) struct thread *Perl_current_thread;
#endif
void Perl_alloc_thread_key _((void));
-int Perl_thread_create _((struct thread *thr, thread_func_t *fn));
-void Perl_set_thread_self _((struct thread *thr));
-struct thread *Perl_getTHR _((void));
-void Perl_setTHR _((struct thread *t));
+int Perl_thread_create _((struct perl_thread *thr, thread_func_t *fn));
+void Perl_set_thread_self _((struct perl_thread *thr));
+struct perl_thread *Perl_getTHR _((void));
+void Perl_setTHR _((struct perl_thread *t));
END_EXTERN_C