return get_next_replay_thread();
}
+bool ModelChecker::next_execution()
+{
+ return false;
+}
+
ModelAction *ModelChecker::get_last_conflict(ModelAction *act)
{
void *loc = act->get_location();
th = new Thread(&main_thread);
- /* Start user program */
- thrd_create(&user_thread, &user_main, NULL);
+ do {
+ /* Start user program */
+ thrd_create(&user_thread, &user_main, NULL);
- /* Wait for all threads to complete */
- thread_wait_finish();
+ /* Wait for all threads to complete */
+ thread_wait_finish();
+
+ model->print_trace();
+ } while (model->next_execution());
- model->print_trace();
delete th;
delete model;