summaryrefslogtreecommitdiff
path: root/win32/win32thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32thread.c')
-rw-r--r--win32/win32thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32thread.c b/win32/win32thread.c
index dfa9a0c733..4dbc750b05 100644
--- a/win32/win32thread.c
+++ b/win32/win32thread.c
@@ -15,11 +15,11 @@ Perl_alloc_thread_key(void)
}
void
-init_thread_intern(struct thread *thr)
+Perl_set_thread_self(struct thread *thr)
{
#ifdef USE_THREADS
- /* GetCurrentThread() retrurns a pseudo handle, need
- this to convert it into a handle another thread can use
+ /* Set thr->self. GetCurrentThread() retrurns a pseudo handle, need
+ this to convert it into a handle another thread can use.
*/
DuplicateHandle(GetCurrentProcess(),
GetCurrentThread(),