首页 | 官方网站   微博 | 高级检索  
     

串口通信多线程实现的分析
引用本文:唐雅娟,杨子杰.串口通信多线程实现的分析[J].计算机应用研究,2001,18(11):32-34,37.
作者姓名:唐雅娟  杨子杰
作者单位:武汉大学电子信息学院,湖北武汉 430072
基金项目:国家“863”计划资助项目 ( 863 81 8 0 1 0 2 )
摘    要:分析了多线程实现串口通信的机制,通过UML活动图详细展示了串口通信中各个线程并发执行的过程,并讨论了多线程同步问题。基于《串口通信多线程实现的分析》的通信程序能够实时接收和发送数据,具有高效、可靠、稳定等特点,实用性极强。

关 键 词:串口通信  多线程  Windows  调制解调器  计算机通信
文章编号:1001-3695(2001)11-0032-03

Analysis of Multi-thread Based Serial Communication
TANG Ya juan,YANG Zi jie.Analysis of Multi-thread Based Serial Communication[J].Application Research of Computers,2001,18(11):32-34,37.
Authors:TANG Ya juan  YANG Zi jie
Abstract: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.
Keywords:Serial Communication  Multiple Thread  Critical Section  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号