void ModelChecker::consumeAction()
{
ModelAction *curr = chosen_thread->get_pending();
- Thread * th = thread_current();
chosen_thread->set_pending(NULL);
chosen_thread = execution->take_step(curr);
}
}
DBG();
Thread *old = thread_current();
+ old->set_state(THREAD_READY);
+
ASSERT(!old->get_pending());
if (inspect_plugin != NULL) {