add support for sleep sets...
[model-checker.git] / schedule.h
index 18936b612dacbed81e91a949d164e990b5f964b5..3a54e8cfda9a55c2bcce5af72bc006bcf32a4588 100644 (file)
@@ -10,6 +10,7 @@
 
 /* Forward declaration */
 class Thread;
+class Node;
 
 typedef enum enabled_type {
        THREAD_DISABLED,
@@ -30,7 +31,10 @@ public:
        Thread * get_current_thread() const;
        void print() const;
        enabled_type_t * get_enabled() { return is_enabled; };
-
+       void remove_sleep(Thread *t);
+       void add_sleep(Thread *t);
+       enabled_type_t get_enabled(Thread *t);
+       void update_sleep_set(Node *n);
        SNAPSHOTALLOC
 private:
        /** The list of available Threads that are not currently running */