多线程并口通讯程序的设计  

Design of Multithreading in LPT Communication

在线阅读下载全文

作  者:王勇[1] 王淑琴[1] 张瑾玉[1] 

机构地区:[1]四川大学计算机学院,成都610064

出  处:《电子质量》2002年第7期76-79,共4页Electronics Quality

摘  要:传统的端口监测程序在性能上往往不能满足实际的需求,使用多线程编程技术,可以提高应用程序的响应性能、改善程序的结构、提高系统资源的利用率。但是多线程程序设计需要解决很多新问题。本文通过一个并口通讯程序的实例,介绍如何利用多线程技术实现端口通讯的方法,以及利用消息机制实现线程间同步的问题。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.

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

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象