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

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

关 键 词:串行通信   多线程   消息   事件   临界区
文章编号:1005-8451(2003)09-0010-03
收稿时间:2003-09-15
修稿时间:2003-07-08

ASC based on multithreading technique and message-responding mechanism
OUYANG linnan. ASC based on multithreading technique and message-responding mechanism[J]. Railway Computer Application, 2003, 12(9): 10-12
Authors:OUYANG linnan
Abstract:It was firstly analyzed the normal method for serial communication programming based on Windows 95/98. Onthe basis of deep analysis, it was accomplished the designing of ASC (asynchronous serial communication) using multithreadingtechnique and message-responding mechanism, and given detailed processes and explanations at the same time. Furthermore,it was put forward corresponding measures to solve the problems of using multithreading technique.
Keywords:serial communication  multithreading  message  event  critical section  
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《铁路计算机应用》浏览原始摘要信息
点击此处可从《铁路计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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