Branch: Tag:

2001-03-28

2001-03-28 10:02:45 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

lots of PIKE_RUN_UNLOCKED stuff..

Rev: src/Makefile.in:1.253
Rev: src/backend.cmod:1.13
Rev: src/block_alloc.h:1.28
Rev: src/error.c:1.71
Rev: src/gc.c:1.148
Rev: src/global.h:1.60
Rev: src/main.c:1.119
Rev: src/mapping.c:1.119
Rev: src/modules/Image/encodings/xbm.c:1.14
Rev: src/modules/Parser/html.c:1.132
Rev: src/modules/spider/xml.c:1.39
Rev: src/pike_cpulib.c:1.1
Rev: src/pike_cpulib.h:1.6
Rev: src/pike_error.h:1.11
Rev: src/pike_memory.c:1.103
Rev: src/program.c:1.306
Rev: src/stralloc.c:1.118
Rev: src/svalue.h:1.84

1: + #include "global.h" + #include "pike_cpulib.h" + #include "svalue.h"    -  + #ifdef PIKE_NEED_MEMLOCK +  +  + #define PIKE_MEM_HASH 17903 + PIKE_MUTEX_T pike_memory_locks[PIKE_MEM_HASH]; +  + void init_cpulib(void) + { +  int e; +  for(e=0;e<PIKE_MEM_HASH;e++) mt_init(pike_memory_locks+e); + } +  + #endif +  +  +  +    Newline at end of file added.