📄 configure.h
字号:
#ifndef _CONFIGURE_H#define _CONFIGURE_H#define FIXED_STACK_SIZE 0#if FIXED_STACK_SIZE/** * Initial level of recursion. */#define INITIAL_STACK_FRAMES 10 /** * Initial number of words in a thread's stack * (for both locals and operands). Needs to be an * even number. */#define INITIAL_STACK_SIZE 70#else#define INITIAL_STACK_FRAMES 4#define INITIAL_STACK_SIZE 10#endif/** * Should always be 1. */#define STACK_CHECKING 1/** * Should always be 1. */#define ARRAY_CHECKING 1/** * If not 0, coalesce adjacent free blocks in the heap */#define COALESCE 1/** * If not 0 allow multiple heap segments */#define SEGMENTED_HEAP 0/** * Iff not 0, threads in the DEAD state are * removed from the circular list. Recommended. */#define REMOVE_DEAD_THREADS 1/** * Slightly safer code (?) */#define SAFE 1/** * Set to non-zero if we want the scheduler to perform priority * inversion avoidance. */#define PI_AVOIDANCE 1#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -