summaryrefslogtreecommitdiff
path: root/thrdvar.h
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-08-27 15:16:42 +0000
committerArtur Bergman <sky@nanisky.com>2001-08-27 15:16:42 +0000
commit4d1ff10ffec86208b0da135b87c76b89e61c866e (patch)
tree741ba054917367001dce29e674a1e99c8fa229d3 /thrdvar.h
parenteb9ee3dc93112029ee3de6fd047d54576a1f1a1f (diff)
downloadperl-4d1ff10ffec86208b0da135b87c76b89e61c866e.tar.gz
Changes USE_THREADS to USE_5005THREADS in the entire source.
Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
Diffstat (limited to 'thrdvar.h')
-rw-r--r--thrdvar.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/thrdvar.h b/thrdvar.h
index 2dd74a69d8..d5bbeacaaf 100644
--- a/thrdvar.h
+++ b/thrdvar.h
@@ -5,16 +5,16 @@
/* Don't forget to re-run embed.pl to propagate changes! */
/* The 'T' prefix is only needed for vars that need appropriate #defines
- * generated when built with or without USE_THREADS. It is also used
+ * generated when built with or without USE_5005THREADS. It is also used
* to generate the appropriate export list for win32.
*
- * When building without USE_THREADS, these variables will be truly global.
- * When building without USE_THREADS but with MULTIPLICITY, these variables
+ * When building without USE_5005THREADS, these variables will be truly global.
+ * When building without USE_5005THREADS but with MULTIPLICITY, these variables
* will be global per-interpreter. */
/* Important ones in the first cache line (if alignment is done right) */
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
PERLVAR(interp, PerlInterpreter*) /* thread owner */
#endif
@@ -233,7 +233,7 @@ PERLVAR(Twatchok, char *)
/* Note that the variables below are all explicitly referenced in the code
* as thr->whatever and therefore don't need the 'T' prefix. */
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
PERLVAR(oursv, SV *)
PERLVAR(cvcache, HV *)
@@ -257,7 +257,7 @@ PERLVAR(i, struct thread_intern)
PERLVAR(trailing_nul, char) /* For the sake of thrsv and oursv */
PERLVAR(thr_done, bool) /* True when the thread has finished */
-#endif /* USE_THREADS */
+#endif /* USE_5005THREADS */
PERLVAR(Treg_sv_utf8, bool) /* was what we matched against utf8 */