Make [un]register_consumer operate on pointers, rename get_loop_again() to has_work()
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ static void bs_cleanup(struct thread_data *td)
|
||||
bsd->ringloop->loop();
|
||||
if (bsd->bs->is_safe_to_stop())
|
||||
goto safe;
|
||||
} while (bsd->ringloop->get_loop_again());
|
||||
} while (bsd->ringloop->has_work());
|
||||
bsd->ringloop->wait();
|
||||
}
|
||||
safe:
|
||||
|
||||
Reference in New Issue
Block a user