diff options
author | Max Kellermann <max@duempel.org> | 2013-09-05 00:22:43 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-05 00:22:43 +0200 |
commit | 52ffdb0a55e43153fa9fc1189316884a630df700 (patch) | |
tree | b6817f9c49ca0ab729fe1140ccdd21797deac97e /test | |
parent | 681d6bbdc565ce285f798d1d0c84756f86947f97 (diff) |
test/read_tags: use input_stream_wait_ready()
Diffstat (limited to 'test')
-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(); |