schedule: improve is_enabled() routines
[c11tester.git] / schedule.h
index 72670590dac3151bc9509ca2b5d60f2fe665c210..da91fddf976c8dd880a57b98476b9e3af76cdffd 100644 (file)
@@ -36,6 +36,7 @@ public:
        enabled_type_t get_enabled(Thread *t);
        void update_sleep_set(Node *n);
        bool is_enabled(Thread *t) const;
+       bool is_enabled(thread_id_t tid) const;
 
        SNAPSHOTALLOC
 private: