6 #include "threads-model.h"
11 virtual int selectWrite(ModelAction *read, SnapVector<ModelAction *>* rf_set);
12 virtual bool has_paused_threads() { return false; }
13 virtual void notify_paused_thread(Thread * thread) = 0;
14 virtual Thread * selectThread(int * threadlist, int numthreads);
16 Thread * selectNotify(action_list_t * waiters);
17 bool shouldSleep(const ModelAction *sleep);
18 bool shouldWake(const ModelAction *sleep);
19 virtual bool shouldWait(const ModelAction *wait) = 0;
20 virtual void register_engine(ModelHistory * history, ModelExecution * execution) = 0;