X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker.git;a=blobdiff_plain;f=schedule.h;h=c8555b6916d9f9badc8f69d14618ec73de8ffeae;hp=0865310a27ed4509b3646e003aa015eeb141f00a;hb=2daff868a7ef4f6235c2776b746cec9947a87b13;hpb=0330918c2798a36363a197bf500a5646b048a687;ds=inline diff --git a/schedule.h b/schedule.h index 0865310..c8555b6 100644 --- a/schedule.h +++ b/schedule.h @@ -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 all_threads_sleeping() const; void set_scheduler_thread(thread_id_t tid); SNAPSHOTALLOC