摘要
分析了多线程实现串口通信的机制 ,通过UML活动图详细展示了串口通信中各个线程并发执行的过程 ,并讨论了多线程同步问题。基于《串口通信多线程实现的分析》的通信程序能够实时接收和发送数据 ,具有高效、可靠、稳定等特点 。
This paper analyze the mechanism of multi thread based serial communication. It displays in detail in UML activity diagrams that how parallel process takes place among multiple thread. Then it discusses the question of thread synchronization and provides a solution. Multi thread based serial communication program can receive and data at the same time, which is effective, credible and has highly practicability.
出处
《计算机应用研究》
CSCD
北大核心
2001年第11期32-34,37,共4页
Application Research of Computers
基金
国家"863"计划资助项目 ( 863 81 8 0 1 0 2 )