summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1998-07-19 16:23:30 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1998-07-19 16:23:30 +0000
commit84fee439e17f74d72fd55282112c02bc24f1cad2 (patch)
tree10d749d3874391435ad0de9adf362b83deaac7e6 /ext
parentbde848c562646d502628341cc25a35dd857800b2 (diff)
downloadperl-84fee439e17f74d72fd55282112c02bc24f1cad2.tar.gz
PL_ minir tidy up
p4raw-id: //depot/ansiperl@1568
Diffstat (limited to 'ext')
-rw-r--r--ext/Thread/Thread.xs44
1 files changed, 22 insertions, 22 deletions
diff --git a/ext/Thread/Thread.xs b/ext/Thread/Thread.xs
index f61a927bcd..20a16e9247 100644
--- a/ext/Thread/Thread.xs
+++ b/ext/Thread/Thread.xs
@@ -151,29 +151,29 @@ threadstart(void *arg)
SvREFCNT_dec(thr->errhv);
/*Safefree(cxstack);*/
- while (curstackinfo->si_next)
- curstackinfo = curstackinfo->si_next;
- while (curstackinfo) {
- PERL_SI *p = curstackinfo->si_prev;
- SvREFCNT_dec(curstackinfo->si_stack);
- Safefree(curstackinfo->si_cxstack);
- Safefree(curstackinfo);
- curstackinfo = p;
+ while (PL_curstackinfo->si_next)
+ PL_curstackinfo = PL_curstackinfo->si_next;
+ while (PL_curstackinfo) {
+ PERL_SI *p = PL_curstackinfo->si_prev;
+ SvREFCNT_dec(PL_curstackinfo->si_stack);
+ Safefree(PL_curstackinfo->si_cxstack);
+ Safefree(PL_curstackinfo);
+ PL_curstackinfo = p;
}
- Safefree(markstack);
- Safefree(scopestack);
- Safefree(savestack);
- Safefree(retstack);
- Safefree(tmps_stack);
- Safefree(ofs);
-
- SvREFCNT_dec(rs);
- SvREFCNT_dec(nrs);
- SvREFCNT_dec(statname);
- Safefree(screamfirst);
- Safefree(screamnext);
- Safefree(reg_start_tmp);
- SvREFCNT_dec(lastscream);
+ Safefree(PL_markstack);
+ Safefree(PL_scopestack);
+ Safefree(PL_savestack);
+ Safefree(PL_retstack);
+ Safefree(PL_tmps_stack);
+ Safefree(PL_ofs);
+
+ SvREFCNT_dec(PL_rs);
+ SvREFCNT_dec(PL_nrs);
+ SvREFCNT_dec(PL_statname);
+ Safefree(PL_screamfirst);
+ Safefree(PL_screamnext);
+ Safefree(PL_reg_start_tmp);
+ SvREFCNT_dec(PL_lastscream);
/*SvREFCNT_dec(defoutgv);*/
MUTEX_LOCK(&thr->mutex);