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

多线程并口通讯程序的设计
引用本文:王勇,王淑琴,张瑾玉.多线程并口通讯程序的设计[J].电子质量,2002(7):76-79.
作者姓名:王勇  王淑琴  张瑾玉
作者单位:四川大学计算机学院,成都,610064
摘    要:传统的端口监测程序在性能上往往不能满足实际的需求,使用多线程编程技术,可以提高应用程序的响应性能,改善程序的结构,提高系统资源的利用率,但是多线程程序设计需要解决很多新问题,本文通过一个并口通讯程序的实例,介绍如何利用多线程技术实现端口通讯的方法,以及利用消息机制实现线程间同步的问题。

关 键 词:多线程  并口通讯  同步  随机事件  消息机制

Design of Multithreading in LPT Communication
WANG Yong,WANG Shu-qin,ZHANG Jin-Yu.Design of Multithreading in LPT Communication[J].Electronics Quality,2002(7):76-79.
Authors:WANG Yong  WANG Shu-qin  ZHANG Jin-Yu
Abstract:One of major functional enhancements of the Win32 application programming interface(API) over the 16-bit Microsoft Windows API is the introduction of multiple threads. 0] In this paper, I will describe the Win32 API's approach to multithreading and how the communication application with multithreads could work. The paper covers synchronization mechanism and multithreading in the Win32 GUI system. Some advice is also suggested in this articles to provide you with convenience in your future programming.
Keywords:multithreading  synchronization mechanism  Message  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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