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

基于多线程技术和自定义消息编程实现Windows 9x异步串行通信
引用本文:欧阳琳男. 基于多线程技术和自定义消息编程实现Windows 9x异步串行通信[J]. 计算机与数字工程, 2005, 33(1): 41-44
作者姓名:欧阳琳男
作者单位:国家轨道衡计量站武汉分站,武汉,430071
摘    要:本文分析了基于Windows95/98平台的串行通信程序开发一般方法。在此基础上进行了深入讨论,用C Builder 4.0实现了基于多线程技术和消息响应机制的异步串行通信,给出了设计的具体步骤和详细解释。并针对使用多线程容易产生的问题,给出了相应的解决办法。

关 键 词:串行通信  多线程  消息  事件  临界区
修稿时间:2004-04-08

Windows 9x Asynchronous Serial Communication based on Multithreading Technique and Message-responding Mechanism
OuYanglinnan National Railway Track Scale Metrology Center Wuhan Branch,Wuhan ). Windows 9x Asynchronous Serial Communication based on Multithreading Technique and Message-responding Mechanism[J]. Computer and Digital Engineering, 2005, 33(1): 41-44
Authors:OuYanglinnan National Railway Track Scale Metrology Center Wuhan Branch  Wuhan )
Affiliation:OuYanglinnan National Railway Track Scale Metrology Center Wuhan Branch,Wuhan 430071)
Abstract:In the thesis, the writer firstly analyzes the normal method for serial communication programming based on Windows 95/98. On the basis of deep analysis, the writer then accomplishes asynchronous serial communication based on multithreading technique and message-responding mechanism, and gives detailed processes and explanations at the same time. Furthermore, the writer puts forward corresponding measures to solve the problems of using multithreading technique.
Keywords:Serial communication   Multithreading   Message   Event   Critical section  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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