Note the similarities to the handlers in our test application.
注意处理程序和测试应用程序的相似性。
To verify our system, we must set up the application under test in the lab, perturb it with events, and detect when it fails to handle an event properly.
为了验证我们的系统,我们必须在实验室设置在测的应用程序,利用事件进行干扰,并且当不能适当处理事件时进行监测。
In our example, the test application will spawn threads and wait (blocked) for interrupts to release the threads.
在我们的例子中,这个测试应用程序应该派生一些线程,并等待(被阻塞)中断来触发这个线程。
应用推荐