projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add back model_thread; it is still needed
[c11tester.git]
/
schedule.h
diff --git
a/schedule.h
b/schedule.h
index 49bd41f308d7d82a5c174ead184f19f971c8d999..8e5554aec049ceee46f7bc1e4bf4cc9aa17b7c9f 100644
(file)
--- a/
schedule.h
+++ b/
schedule.h
@@
-28,7
+28,7
@@
public:
void remove_thread(Thread *t);
void sleep(Thread *t);
void wake(Thread *t);
void remove_thread(Thread *t);
void sleep(Thread *t);
void wake(Thread *t);
- Thread * select_next_thread(
Node *n
);
+ Thread * select_next_thread();
void set_current_thread(Thread *t);
Thread * get_current_thread() const;
void print() const;
void set_current_thread(Thread *t);
Thread * get_current_thread() const;
void print() const;
@@
-39,6
+39,7
@@
public:
bool is_enabled(const Thread *t) const;
bool is_enabled(thread_id_t tid) const;
bool is_sleep_set(const Thread *t) const;
bool is_enabled(const Thread *t) const;
bool is_enabled(thread_id_t tid) const;
bool is_sleep_set(const Thread *t) const;
+ bool is_sleep_set(thread_id_t tid) const;
bool all_threads_sleeping() const;
void set_scheduler_thread(thread_id_t tid);
bool all_threads_sleeping() const;
void set_scheduler_thread(thread_id_t tid);