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

基于多线程技术实现Windows串行通信
引用本文:李湘江 汤琛. 基于多线程技术实现Windows串行通信[J]. 微机发展, 2004, 14(2): 63-65,88
作者姓名:李湘江 汤琛
作者单位:长沙理工大学计算机中心,长沙理工大学计算机中心 湖南长沙410076,湖南长沙410076
摘    要:多线程是Windows系统支持的一项十分重要的功能,特别有利于在同一程序中实现并发任务。多线程的实现可以使得各端口独立,准确地实现串行通信,从而提高串行通信中的实时性和可靠性,使程序能够适应高速的数据采集和处理。文中分析了基于windows 9x平台上的串行通信和多线程编程的原理和开发方法,阐述了基于多线程技术串行通信的实现方法。

关 键 词:Windows 操作系统 多线程技术 串行通信 驱动程序
文章编号:1005-3751(2004)02-0063-03

Realize Serial Communication in Windows Based on Multi Thread Technology
LI Xiang-jiang,TANG Chen. Realize Serial Communication in Windows Based on Multi Thread Technology[J]. Microcomputer Development, 2004, 14(2): 63-65,88
Authors:LI Xiang-jiang  TANG Chen
Abstract:Multi thread is an important function supported in Windows, and especially is useful for program with multi tasks. The realizing of multi thread can make the independence of each port, and accurately realize serial communication, increase the real-time and reliability within serial communication, and employ multi threading technique which makes the program capable to high-speed data collecting and processing. This paper analyses principles and development methods of serial communication and multi thread programming based on Windows 9x. It describes the method of implementing serial communication based on multi thread technology.
Keywords:serial communication  multi thread  Windows API  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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