aad99b2001-03-28Fredrik Hübinette (Hubbe) #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];
45637c2001-04-07Fredrik Hübinette (Hubbe) void init_pike_cpulib(void)
aad99b2001-03-28Fredrik Hübinette (Hubbe) { int e;
45637c2001-04-07Fredrik Hübinette (Hubbe)  for(e=0;e<PIKE_MEM_HASH;e++) mt_init_recursive(pike_memory_locks+e);
aad99b2001-03-28Fredrik Hübinette (Hubbe) } #endif