论文部分内容阅读
在自动报警系统中,采用了多线程技术以解决前台监控和后台通讯的协同工作问题.通过对开发工具 Delphi 3 .0 中提供的多线程对象 T Thread 类,以及临界区、互斥量等同步控制对象类的介绍,阐述了如何编写出简捷、有效的多线程应用程序和安全调用这些程序的方法,并指出在多线程程序开发过程中应注意的事项
In the automatic alarm system, the use of multi-threading technology to solve the foreground monitoring and background communication work together. Through the development tools Delphi 3. This paper introduces how to write simple and efficient multithreaded applications and how to call these programs safely. It is pointed out that in the introduction of T Thread class of multithreaded objects and critical object, mutex and other synchronization control object classes, Multi-threaded program development process should pay attention to the matter