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: program.h,v 1.120 2001/03/20 02:45:51 hubbe Exp $ +  * $Id: program.h,v 1.121 2001/03/23 03:14:41 hubbe Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H
315:      #define FIND_LFUN(P,N) ( dmalloc_touch(struct program *,(P))->flags & PROGRAM_FIXED?((P)->lfuns[(N)]):low_find_lfun((P), (N)) )    - #define free_program(p) do{ struct program *_=(p); debug_malloc_touch(_); if(!--_->refs) really_free_program(_); }while(0) + #define free_program(p) do{ struct program *_=(p); debug_malloc_touch(_); if(!sub_ref(_)) really_free_program(_); }while(0)         extern struct object *error_handler;