摘要
为满足地铁屏蔽门监控系统对稳定性、实时性、可扩展性和抗干扰性等方面的要求,提出把多线程技术应用到地铁屏蔽门监控系统软件的开发中。在该系统中需要对多个任务如发送、接收指令、声光报警、信息查询和信息打印等同时处理,采用多线程技术设计同时处理多个任务的应用程序,采用信号量和互斥量实现线程间的同步,并给出典型线程的程序框架。实际运行结果表明该系统能达到预期效果。
In order to meet the requirements such as the stability, real-time, scalability, and anti-jamming for Metro Platform Screen Doors Control System, this paper presents the application of multi-threading technology to system software development. Multi-thread technology is used to handle multiple tasks at the same time. Semaphore and mutexes is used to implement synchronization between threads and program codes are given for typical threads. The practical operation shows that the system can achieve the desired results.
出处
《机械》
2012年第8期63-66,共4页
Machinery
关键词
地铁屏蔽门
监控系统
多线程技术
实时性
metro platform screen doors
monitoring system
multi-thread technology
real-time