summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-05-21 10:55:37 +0200
committerNicholas Clark <nick@ccl4.org>2009-05-21 10:55:37 +0200
commitb14647bbef65df1555e337714aa22f1e154a4462 (patch)
tree550261cc1c09052b6037bb8ee01eedec9189453b /util.c
parentd525a7b2081fbd38d70ffb150fc7fe6d30d0b62d (diff)
downloadperl-b14647bbef65df1555e337714aa22f1e154a4462.tar.gz
Remove all the 5005threads specific mutex macros, which are now vestigial.
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/util.c b/util.c
index 782ffde51d..469a9dac47 100644
--- a/util.c
+++ b/util.c
@@ -2347,9 +2347,7 @@ Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args)
else
PerlLIO_close(p[that]); /* close child's end of pipe */
- LOCK_FDPID_MUTEX;
sv = *av_fetch(PL_fdpid,p[This],TRUE);
- UNLOCK_FDPID_MUTEX;
SvUPGRADE(sv,SVt_IV);
SvIV_set(sv, pid);
PL_forkprocess = pid;
@@ -2517,9 +2515,7 @@ Perl_my_popen(pTHX_ const char *cmd, const char *mode)
else
PerlLIO_close(p[that]);
- LOCK_FDPID_MUTEX;
sv = *av_fetch(PL_fdpid,p[This],TRUE);
- UNLOCK_FDPID_MUTEX;
SvUPGRADE(sv,SVt_IV);
SvIV_set(sv, pid);
PL_forkprocess = pid;
@@ -2863,9 +2859,7 @@ Perl_my_pclose(pTHX_ PerlIO *ptr)
bool close_failed;
dSAVEDERRNO;
- LOCK_FDPID_MUTEX;
svp = av_fetch(PL_fdpid,PerlIO_fileno(ptr),TRUE);
- UNLOCK_FDPID_MUTEX;
pid = (SvTYPE(*svp) == SVt_IV) ? SvIVX(*svp) : -1;
SvREFCNT_dec(*svp);
*svp = &PL_sv_undef;