rename threads_internal.h -> threads.h
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index f26ab55b5608da6a97d90f5015e2db7c28c5fe50..cd922dff7f945d1808b3e44b91ec433971ab71c2 100644 (file)
--- a/model.h
+++ b/model.h
@@ -7,7 +7,7 @@
 #include "schedule.h"
 #include "libthreads.h"
 #include "libatomic.h"
-#include "threads_internal.h"
+#include "threads.h"
 
 #define VALUE_NONE -1
 
@@ -48,6 +48,8 @@ public:
        Thread *get_thread(thread_id_t tid) { return thread_map[tid]; }
 
        void assign_id(Thread *t);
+
+       int switch_to_master(ModelAction *act);
 private:
        int used_thread_id;
        class ModelAction *current_action;