summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-23 08:54:27 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-23 08:54:27 +0000
commit1feb27209aee3921894ffc1cc08027670d4240f3 (patch)
tree6b79a2ca2620a7e287d9d18cc5d660a977984bb5 /op.c
parentfd9459bc435247011bdd5dc44ff2358cc4d1b124 (diff)
downloadperl-1feb27209aee3921894ffc1cc08027670d4240f3.tar.gz
bring in basic threads stuff under USE_ITHREADS
p4raw-id: //depot/perl@4704
Diffstat (limited to 'op.c')
-rw-r--r--op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/op.c b/op.c
index e69630a0d7..d796ede318 100644
--- a/op.c
+++ b/op.c
@@ -4133,9 +4133,9 @@ CV *
Perl_cv_clone(pTHX_ CV *proto)
{
CV *cv;
- MUTEX_LOCK(&PL_cred_mutex); /* XXX create separate mutex */
+ LOCK_CRED_MUTEX; /* XXX create separate mutex */
cv = cv_clone2(proto, CvOUTSIDE(proto));
- MUTEX_UNLOCK(&PL_cred_mutex); /* XXX create separate mutex */
+ UNLOCK_CRED_MUTEX; /* XXX create separate mutex */
return cv;
}