首页 | 本学科首页   官方微博 | 高级检索  
     检索      

内存受限实时系统中的一种任务堆栈大小检测方法
引用本文:李君.内存受限实时系统中的一种任务堆栈大小检测方法[J].浙江万里学院学报,2004,17(5):63-65.
作者姓名:李君
作者单位:浙江万里学院,宁波,315100
摘    要:给出一种在内存受限系统中确定应用任务堆栈合理大小的方法. 通过在初始化时往堆栈中写入一个特定的魔术数,经过充分的测试后,检测堆栈中该魔术数的存在情况,从而得出合理的堆栈大小.

关 键 词:内存受限实时系统  任务堆栈  魔术数
文章编号:1671-2250(2004)05-0063-03
修稿时间:2004年6月15日

Method to Test the Size of Task Stack in the Memory Limited Real-Time System
LI Jun.Method to Test the Size of Task Stack in the Memory Limited Real-Time System[J].Journal of Zhejiang Wanli University,2004,17(5):63-65.
Authors:LI Jun
Abstract: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.
Keywords:memory limited real-time system  task stack  magic number
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号