Branch: Tag:

2001-03-23

2001-03-23 03:14:41 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

experimental code for SMP, does nothing exciting yet

Rev: src/acconfig.h:1.83
Rev: src/array.h:1.32
Rev: src/configure.in:1.508
Rev: src/global.h:1.59
Rev: src/mapping.h:1.35
Rev: src/multiset.h:1.17
Rev: src/object.h:1.60
Rev: src/pike_cpulib.h:1.1
Rev: src/program.h:1.121
Rev: src/stralloc.h:1.60
Rev: src/svalue.h:1.82

5:   \*/      /* -  * $Id: array.h,v 1.31 2001/02/03 01:02:51 mast Exp $ +  * $Id: array.h,v 1.32 2001/03/23 03:14:39 hubbe Exp $    */   #ifndef ARRAY_H   #define ARRAY_H
78:   #define PIKE_ARRAY_OP_SUB PIKE_MINTERM(PIKE_ARRAY_OP_TAKE_A,PIKE_ARRAY_OP_SKIP_A ,PIKE_ARRAY_OP_SKIP_B)       - #define free_array(V) do{ struct array *v_=(V); debug_malloc_touch(v_); if(!--v_->refs) really_free_array(v_); }while(0) + #define free_array(V) do{ struct array *v_=(V); debug_malloc_touch(v_); if(!sub_ref(v_)) really_free_array(v_); }while(0)      #define allocate_array(X) low_allocate_array((X),0)   #define allocate_array_no_init(X,Y) low_allocate_array((X),(Y))