diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-08 12:08:17 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-08 12:08:17 +0000 |
commit | 534825c439e9bf017f3cdaf88d284d58d5eac6bd (patch) | |
tree | 1884c58f0eef7d68e5cd924efde5a05d8c8b6e0b /op.c | |
parent | e23b9d0f648442d8e275530c0bf8b0027cee41d1 (diff) | |
download | perl-534825c439e9bf017f3cdaf88d284d58d5eac6bd.tar.gz |
add missing locks for op refcounts
p4raw-id: //depot/perl@5610
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -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; |