摘要
给出一种在内存受限系统中确定应用任务堆栈合理大小的方法. 通过在初始化时往堆栈中写入一个特定的魔术数,经过充分的测试后,检测堆栈中该魔术数的存在情况,从而得出合理的堆栈大小.
This paper presents a method to determine the proper size of applied task stack in the system whose memory is limited. By writing a special magic number in the stack during initialization, and then testing thoroughly. The proper size of the stack can be found after examining the presence of magic number in the stack.
出处
《浙江万里学院学报》
2004年第5期63-65,共3页
Journal of Zhejiang Wanli University
关键词
内存受限实时系统
任务堆栈
魔术数
memory limited real-time system
task stack
magic number