摘要
针对嵌入式系统的资源受限问题,提出了EPA通信协议在内存管理和资源同步等方面的一种设计方案。采用静态内存池的方式来避免内存碎片问题,使用阻塞/唤醒机制来同步多线程,使用互斥锁来互斥访问临界资源,从而提高EPA通信协议的实时性和稳定性;给出了EPA通信协议主要模块在嵌入式Linux下的实现过程及EPA协议的一致性测试结果。关键词:EPA通信模型;嵌入式应用软件;
This paper puts forward design of memory management and resource synchronization, which avoid memory fragmentation by memory pool, synchronize multithread by block/wake up mechanism, access critical section by mutex. This design aim to improve the real-time and stability of EPA protocol. It accordingly illustrates the framework of several modules, supplies with the result of EPA protocol's consistency test.
出处
《计算机工程》
CAS
CSCD
北大核心
2007年第6期273-274,277,共3页
Computer Engineering
基金
国家"863"计划基金资助项目(2004AA412020)