#include "classlist.h"
#include "snapshot-interface.h"
-typedef SnapList<ModelAction *> action_list_t;
-
/** @brief Model checker execution stats */
struct execution_stats {
int num_total; /**< @brief Total number of executions */
uint64_t switch_to_master(ModelAction *act);
uint64_t switch_thread(ModelAction *act);
- void continueExecution(Thread *old);
- void finishExecution(Thread *old);
+ void startRunExecution(Thread *old);
+ void finishRunExecution(Thread *old);
void consumeAction();
- void chooseThread(ModelAction *act, Thread *old);
+ void chooseThread(ModelAction *act, Thread *thr);
Thread * getNextThread();
void handleChosenThread(Thread *old);
void handleNewValidThread(Thread *old, Thread *next);
Thread * chosen_thread;
bool thread_chosen;
+ bool break_execution;
modelclock_t checkfree;