e576bb2002-10-11Martin Nilsson /* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
7b62e22011-04-25Martin Stjernholm || $Id$
e576bb2002-10-11Martin Nilsson */
1b10db2002-10-08Martin Nilsson 
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