summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-03 17:12:33 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-03 17:12:33 +0000
commit968277801164b16eb55f9f8fd3162dc3b6226110 (patch)
tree9e3909d2149d62cac469cfb6d84bdfd4353dd19f /thread.h
parent5d3fdfebb3d34f909dfbefe2c2cdf38bab171cf9 (diff)
downloadperl-968277801164b16eb55f9f8fd3162dc3b6226110.tar.gz
Remove last traces of "tokenbuf as temp buffer" and removed it
from struct thread. Added missing thr->Tfoo defines for statbuf and timesbuf and removed unused Tbuf field. p4raw-id: //depot/perl@106
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/thread.h b/thread.h
index f7ca06caa0..5e5bebdc97 100644
--- a/thread.h
+++ b/thread.h
@@ -115,8 +115,6 @@ struct thread {
SV * TSv;
XPV * TXpv;
- char Tbuf[2048]; /* should be a global locked by a mutex */
- char Ttokenbuf[256]; /* should be a global locked by a mutex */
struct stat Tstatbuf;
struct tms Ttimesbuf;
@@ -225,6 +223,8 @@ typedef struct condpair {
#undef curpad
#undef Sv
#undef Xpv
+#undef statbuf
+#undef timesbuf
#undef top_env
#undef runlevel
#undef in_eval
@@ -270,6 +270,8 @@ typedef struct condpair {
#define curpad (thr->Tcurpad)
#define Sv (thr->TSv)
#define Xpv (thr->TXpv)
+#define statbuf (thr->Tstatbuf)
+#define timesbuf (thr->Ttimesbuf)
#define defstash (thr->Tdefstash)
#define curstash (thr->Tcurstash)