summaryrefslogtreecommitdiff
path: root/thread.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 /thread.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 'thread.h')
-rw-r--r--thread.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/thread.h b/thread.h
index 82343607c1..f7ab18c553 100644
--- a/thread.h
+++ b/thread.h
@@ -282,6 +282,8 @@
# define UNLOCK_CRED_MUTEX MUTEX_UNLOCK(&PL_cred_mutex)
# define LOCK_FDPID_MUTEX MUTEX_LOCK(&PL_fdpid_mutex)
# define UNLOCK_FDPID_MUTEX MUTEX_UNLOCK(&PL_fdpid_mutex)
+# define LOCK_SV_LOCK_MUTEX MUTEX_LOCK(&PL_sv_lock_mutex)
+# define UNLOCK_SV_LOCK_MUTEX MUTEX_UNLOCK(&PL_sv_lock_mutex)
/* Values and macros for thr->flags */
#define THRf_STATE_MASK 7
@@ -385,6 +387,14 @@ typedef struct condpair {
# define UNLOCK_FDPID_MUTEX
#endif
+#ifndef LOCK_SV_LOCK_MUTEX
+# define LOCK_SV_LOCK_MUTEX
+#endif
+
+#ifndef UNLOCK_SV_LOCK_MUTEX
+# define UNLOCK_SV_LOCK_MUTEX
+#endif
+
/* THR, SET_THR, and dTHR are there for compatibility with old versions */
#ifndef THR
# define THR PERL_GET_THX