summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-07-14 08:55:38 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-07-14 08:55:38 +0000
commit631cfb58c2bd693774ee9ffe59908af4423167d4 (patch)
treeef4efaf3ec8749310ab5430c08e82bf4f5c0428a /sv.h
parente3acbfda4f677df31695d7b2b63b7e9e854a3514 (diff)
downloadperl-631cfb58c2bd693774ee9ffe59908af4423167d4.tar.gz
rename totally bletcherous SvLOCK() thingy (doesn't do what the
name suggests anyway) p4raw-id: //depot/perl@6398
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sv.h b/sv.h
index b77a9d30cc..c670f80328 100644
--- a/sv.h
+++ b/sv.h
@@ -1022,13 +1022,6 @@ indicated number of bytes (remember to reserve space for an extra trailing
NUL character). Calls C<sv_grow> to perform the expansion if necessary.
Returns a pointer to the character buffer.
-=for apidoc Am|void|SvLOCK|SV* sv
-Aquires an internal mutex for a SV. Used to make sure multiple threads
-don't stomp on the guts of an SV at the same time
-
-=for apidoc Am|void|SvUNLOCK|SV* sv
-Release the internal mutex for an SV.
-
=cut
*/
@@ -1064,9 +1057,6 @@ Release the internal mutex for an SV.
SvSetSV_nosteal_and(dst,src,SvSETMAGIC(dst))
#ifdef DEBUGGING
-
-#define SvLOCK(sv) MUTEX_LOCK(&PL_sv_lock_mutex)
-#define SvUNLOCK(sv) MUTEX_UNLOCK(&PL_sv_lock_mutex)
#define SvPEEK(sv) sv_peek(sv)
#else
#define SvPEEK(sv) ""