Added SILC Thread Queue API
[silc.git] / lib / silcutil / silcstack_i.h
index 03bc8986dab2a37ca221d3e2cbd437d36ef9076c..badc5ff7d5012e514af955cf6801ee39ff127906 100644 (file)
 #endif
 
 /* The default stack size when stack is created */
-#define SILC_STACK_DEFAULT_SIZE 2048
+#define SILC_STACK_DEFAULT_SIZE 1024
 
 /* Number of pre-allocated stack frames.  Frames are allocated from the
    stack itself. */
 #define SILC_STACK_DEFAULT_NUM 32
 
 /* Default alignment */
-#define SILC_STACK_DEFAULT_ALIGN sizeof(unsigned long)
+#define SILC_STACK_DEFAULT_ALIGN SILC_ALIGNMENT
 
 /* Maximum allocation that can be made with SilcStack. */
-#define SILC_STACK_BLOCK_NUM 20
+#define SILC_STACK_BLOCK_NUM 21
 #define SILC_STACK_MAX_ALLOC \
   (SILC_STACK_DEFAULT_SIZE * (1L << (SILC_STACK_BLOCK_NUM - 1)) << 1)