diff options
-rw-r--r-- | test/read_tags.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
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(); |