摘要 |
The invention provides a scheduling method and a device for test execution, and execution of progresses can be changed dynamically. The method comprises the following steps that: a main progress receives an operating request of a user; the main progress sets an operating variable value in a main progress structure body in a shared memory as a value representing the operating request, and then sends an inform signal to a sub progress; and after the sub progress receives the inform signal, the sub progress executes corresponding operations by judging the operating variable value in the main progress structure body in the shared memory. According to the invention, based on multiprocess and multithreading, execution of the progresses is dynamically changed to control a execution state of each progress to switch among progress states through the method and device according to the operating request of the user by changing the operating variable value in the main progress structure body, therefore, the test scene is enriched and a complex test curve can be prepared correspondingly. |