摘要
针对DOS和WIN16环境下串行通信的不足之处 ,探讨了基于 32位操作系统的两台计算机间的串行通信问题 .结合多线程的概念和调度机理以及线程同步方法 ,给出了基于多线程异步串行通信的设计思路、软件实现方法及其部分实现代码 .实验结果表明 :该技术切实可行 ,可获得良好的性能 .
In light of the disadvantages of serial communication in the circumstance of DOS and WIN16,the serial communication problem based on 32_bits operation system between two computers, is discussed. The multithread conception and its attemper mechanism as well as thread synchronization are employed in the achievement to the idea. The idea of asynchronous serial communication design based multithread and its implemented segment code is presented. Through an experimental study the technology is proven to be practical and effective.
出处
《武汉大学学报(工学版)》
CAS
CSCD
北大核心
2002年第6期115-118,共4页
Engineering Journal of Wuhan University
关键词
多线程
线程调度
线程同步
串行通信
multithread
thread attemper
thread synchronization
serial communication