schedule: make 'current' a private member of the scheduler
[model-checker.git] / schedule.h
index 762e16818ed220dfc3a313a0b297638d7e9bfddd..aa291ef8cd788872f14adce2f7199a6d3186f1de 100644 (file)
@@ -20,6 +20,7 @@ public:
        struct thread * get_current_thread(void);
 private:
        std::list<struct thread *> queue;
+       struct thread *current;
 };
 
 #endif /* __SCHEDULE_H__ */