From a5b7a5202c37fd361917a4831d0576f23383e5ea Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Wed, 28 Jul 2010 16:49:16 -0700 Subject: Note that we keep running the main loop until all task refcounts are zero. --- src/rt/rust_dom.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rt') diff --git a/src/rt/rust_dom.cpp b/src/rt/rust_dom.cpp index 0c175e78..362c215e 100644 --- a/src/rt/rust_dom.cpp +++ b/src/rt/rust_dom.cpp @@ -351,7 +351,8 @@ rust_dom::log_state() { * Starts the main scheduler loop which performs task scheduling for this * domain. * - * Returns once no more tasks can be scheduled. + * Returns once no more tasks can be scheduled and all task ref_counts + * drop to zero. */ int rust_dom::start_main_loop() -- cgit v1.2.3