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

基于Win32的多线程技术及其应用
引用本文:刘红海,侯向华,蔡勇.基于Win32的多线程技术及其应用[J].计算机工程与设计,2003,24(10):113-115.
作者姓名:刘红海  侯向华  蔡勇
作者单位:江南大学信息学院,江苏,无锡,214036
摘    要:在现代人机交互的通讯控制方式中,多线程技术的应用越来越广泛。讲述了现代操作系统中多线程与进程的关系,引进多线程的好处,线程间的同步和在Win32系统中如何对传统的单进程系统的改造,提高了系统的运行效率,改善用户的交互性。因为在同一个进程中的线程由于共享存储空间和文件,它们无须调用内核就可以通信,这样使得不同执行程序间的通信效率大大提高。另外多线程进程在创建新进程时,与没有使用线程的进程相比,进程创建的速度大大提高。

关 键 词:操作系统  多线程技术  Windows  线程  进程  人机交互  工业控制系统
文章编号:1000-7024(2003)10-0113-03

Technology of multi-threading based on Win32 and their application
LIU Hong-hai,HOU Xiang-hua,CAI Yong.Technology of multi-threading based on Win32 and their application[J].Computer Engineering and Design,2003,24(10):113-115.
Authors:LIU Hong-hai  HOU Xiang-hua  CAI Yong
Abstract:The muti-process and muti-thread technology are used more and more widely in the modern communication and con-trolling engineers of human-computer interactions. The relation of muti-thead and process, the reasons for bringing forward the multi-thead, and synchronization of the threads and how to reconstruct the traditional Single-process to muti-thread in the Win32 system are introduced. Using multi-thead can increase the program efficiency and improve the users' interface. In the same process, threads can communicate each other without calling kernel for sharing the same memory and files, so the efficiency of communication is improved between different programs. On the other hand, when the process of multi-thread creates the new one, the speed is obviously improved comparing with those processes without threads.
Keywords:process  multi-thread  synchronization  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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