int selectWrite(ModelAction *read, SnapVector<ModelAction *>* rf_set);
Thread * selectThread(int * threadlist, int numthreads);
Thread * selectNotify(action_list_t * waiters);
+ bool shouldSleep(const ModelAction *sleep);
+ bool shouldWake(const ModelAction *sleep);
MEMALLOC
private:
};