From 52ffdb0a55e43153fa9fc1189316884a630df700 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Sep 2013 00:22:43 +0200 Subject: test/read_tags: use input_stream_wait_ready() --- test/read_tags.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test') diff --git a/test/read_tags.cxx b/test/read_tags.cxx index 7a3cd15d7..8b8500607 100644 --- a/test/read_tags.cxx +++ b/test/read_tags.cxx @@ -196,10 +196,7 @@ int main(int argc, char **argv) mutex.lock(); - while (!is->ready) { - cond.wait(mutex); - input_stream_update(is); - } + input_stream_wait_ready(is); if (!input_stream_check(is, error)) { mutex.unlock(); -- cgit v1.2.3