summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-08 12:08:17 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-08 12:08:17 +0000
commit534825c439e9bf017f3cdaf88d284d58d5eac6bd (patch)
tree1884c58f0eef7d68e5cd924efde5a05d8c8b6e0b /op.c
parente23b9d0f648442d8e275530c0bf8b0027cee41d1 (diff)
downloadperl-534825c439e9bf017f3cdaf88d284d58d5eac6bd.tar.gz
add missing locks for op refcounts
p4raw-id: //depot/perl@5610
Diffstat (limited to 'op.c')
-rw-r--r--op.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/op.c b/op.c
index 11ff181c83..d6a16db0aa 100644
--- a/op.c
+++ b/op.c
@@ -22,19 +22,6 @@
/* #define PL_OP_SLAB_ALLOC */
-/* XXXXXX testing */
-#ifdef USE_ITHREADS
-# define OP_REFCNT_LOCK NOOP
-# define OP_REFCNT_UNLOCK NOOP
-# define OpREFCNT_set(o,n) ((o)->op_targ = (n))
-# define OpREFCNT_dec(o) (--(o)->op_targ)
-#else
-# define OP_REFCNT_LOCK NOOP
-# define OP_REFCNT_UNLOCK NOOP
-# define OpREFCNT_set(o,n) NOOP
-# define OpREFCNT_dec(o) 0
-#endif
-
#ifdef PL_OP_SLAB_ALLOC
#define SLAB_SIZE 8192
static char *PL_OpPtr = NULL;