Study on Method Reliability of Program Startup for Test Software
It is necessary to accomplish running a single instance for test software that need to own a software resource or hardware resource exclusively. There are three common methods to accomplish running a single instance including Looking up the caption of the main window of the application, Using thread mutex and Using Windows global atom. These methods have the imperfections of reliability. These imperfections may result in serious aftereffect for the high reliability system. A new method for such problems is puts forward, that is accomplish running a single instance of the application through cooperation of main window handle and thread ID. Using the method can not only solve the imperfections of reliability completely but also reduce the complexity of program and improve efficiency of program.
Instance of the application program startup reliability window handle global atom thread mutex
Gao Bo Ding Shiyong Song Aibin Lv Li Gong Tieli
Academy of Armored Force Engineering,Beijing 100072,China
国际会议
厦门
英文
1537-1540
2010-05-22(万方平台首次上网日期,不代表论文的发表时间)