diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-15 20:42:28 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-15 20:42:28 +0000 |
commit | 0fefa03b970ac01e359bb69c9e4daaddc57f3db9 (patch) | |
tree | 04834a71c6704df1a6a5d2cfcdd013c05cc96857 /win32/win32thread.c | |
parent | 9811a7d768316e95d4f07bb4877adaf9834ec499 (diff) | |
download | perl-0fefa03b970ac01e359bb69c9e4daaddc57f3db9.tar.gz |
Implement dTHR via __declspec(thread) - part 2
p4raw-id: //depot/ansiperl@258
Diffstat (limited to 'win32/win32thread.c')
-rw-r--r-- | win32/win32thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32thread.c b/win32/win32thread.c index eefa92c385..c0c3c60239 100644 --- a/win32/win32thread.c +++ b/win32/win32thread.c @@ -1,18 +1,18 @@ #include "EXTERN.h" #include "perl.h" -__declspec(thread) struct thread *current_thread; +__declspec(thread) struct thread *Perl_current_thread = NULL; void Perl_setTHR(struct thread *t) { - current_thread = t; + Perl_current_thread = t; } struct thread * Perl_getTHR(void) { - return current_thread; + return Perl_current_thread; } void |