ClockVector * get_cv(thread_id_t tid) const;
ModelAction * get_parent_action(thread_id_t tid) const;
- bool isfeasibleprefix() const;
ModelAction * get_last_action(thread_id_t tid) const;
bool check_action_enabled(ModelAction *curr);
- bool assert_bug(const char *msg);
+ void assert_bug(const char *msg);
bool have_bug_reports() const;
void set_assert();
bool is_complete_execution() const;
- void print_infeasibility(const char *prefix) const;
- bool is_infeasible() const;
bool is_deadlocked() const;
action_list_t * get_action_trace() { return &action_trace; }
void setFinished() {isfinished = true;}
void restore_last_seq_num();
-
+#ifdef TLS
+ pthread_key_t getPthreadKey() {return pthreadkey;}
+#endif
SNAPSHOTALLOC
private:
+#ifdef TLS
+ pthread_key_t pthreadkey;
+#endif
int get_execution_number() const;
ModelChecker *model;
Scheduler * const scheduler;
bool mo_may_allow(const ModelAction *writer, const ModelAction *reader);
- void set_bad_synchronization();
bool should_wake_up(const ModelAction *curr, const Thread *thread) const;
void wake_up_sleeping_actions(ModelAction *curr);
modelclock_t get_next_seq_num();