摘要
在自动报警系统中,采用了多线程技术以解决前台监控和后台通讯的协同工作问题.通过对开发工具 Delphi 3 .0 中提供的多线程对象 T Thread 类,以及临界区、互斥量等同步控制对象类的介绍,阐述了如何编写出简捷、有效的多线程应用程序和安全调用这些程序的方法。
Using the technique of multithreading,we resolve the problem of how to work properly between the foreground control and the background communication in the auto-alarm system.This paper introduces the method of how to use TThread which is one of multithreading object classes and how to use Critical Section and Mutexes which are synchronized control object classes provided in Delphi 3.0.We give a simply and effective method of how to program a multithreading application and how to safely transfer programs.In the end,itpoints out some key issues in the development of multithreading program.
出处
《郑州工业大学学报》
1999年第3期104-107,共4页
Journal of Zhengzhou University of Technology
基金
河南省教委科技攻关项目
关键词
多线程
TThread类
同步控制
自动
报警系统
Multithreading
TThread class
Synchronize method
Synchronized control object
Critical Section