瀏覽代碼

core: define to keep default shm memory pool size

Daniel-Constantin Mierla 10 年之前
父節點
當前提交
e91bcf0109
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config.h

+ 1 - 1
config.h

@@ -142,7 +142,7 @@
 #define PKG_MEM_POOL_SIZE PKG_MEM_SIZE*1024*1024	/*!< used only if PKG_MALLOC is defined*/
 #define PKG_MEM_POOL_SIZE PKG_MEM_SIZE*1024*1024	/*!< used only if PKG_MALLOC is defined*/
 
 
 #define SHM_MEM_SIZE 64				/*!< used if SH_MEM is defined*/
 #define SHM_MEM_SIZE 64				/*!< used if SH_MEM is defined*/
-
+#define SHM_MEM_POOL_SIZE SHM_MEM_SIZE*1024*1024
 
 
 /* dimensioning buckets in q_malloc */
 /* dimensioning buckets in q_malloc */
 /*! \brief size of the size2bucket table; everything beyond that asks for
 /*! \brief size of the size2bucket table; everything beyond that asks for