diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-07-14 08:55:38 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-07-14 08:55:38 +0000 |
commit | 631cfb58c2bd693774ee9ffe59908af4423167d4 (patch) | |
tree | ef4efaf3ec8749310ab5430c08e82bf4f5c0428a /thread.h | |
parent | e3acbfda4f677df31695d7b2b63b7e9e854a3514 (diff) | |
download | perl-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.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |