summaryrefslogtreecommitdiff
path: root/win32/win32.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 /win32/win32.c
parentd525a7b2081fbd38d70ffb150fc7fe6d30d0b62d (diff)
downloadperl-b14647bbef65df1555e337714aa22f1e154a4462.tar.gz
Remove all the 5005threads specific mutex macros, which are now vestigial.
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/win32/win32.c b/win32/win32.c
index cef828b998..2397f5c6de 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -3075,9 +3075,7 @@ win32_popen(const char *command, const char *mode)
lock_held = 0;
}
- LOCK_FDPID_MUTEX;
sv_setiv(*av_fetch(w32_fdpid, p[parent], TRUE), childpid);
- UNLOCK_FDPID_MUTEX;
/* set process id so that it can be returned by perl's open() */
PL_forkprocess = childpid;
@@ -3118,7 +3116,6 @@ win32_pclose(PerlIO *pf)
int childpid, status;
SV *sv;
- LOCK_FDPID_MUTEX;
sv = *av_fetch(w32_fdpid, PerlIO_fileno(pf), TRUE);
if (SvIOK(sv))
@@ -3127,7 +3124,6 @@ win32_pclose(PerlIO *pf)
childpid = 0;
if (!childpid) {
- UNLOCK_FDPID_MUTEX;
errno = EBADF;
return -1;
}
@@ -3138,7 +3134,6 @@ win32_pclose(PerlIO *pf)
fclose(pf);
#endif
SvIVX(sv) = 0;
- UNLOCK_FDPID_MUTEX;
if (win32_waitpid(childpid, &status, 0) == -1)
return -1;