Commit 16a07bc2 authored by Max Kellermann's avatar Max Kellermann

input/buffering: remove obsolete thread wakeup

The thread will always attempt to read more data since commit 2cf6b776, so we don't need to tell it to continue.
parent 11537156
......@@ -102,12 +102,6 @@ BufferingInputStream::Read(std::unique_lock<Mutex> &lock, void *ptr, size_t s)
size_t nbytes = std::min(s, r.defined_buffer.size);
memcpy(ptr, r.defined_buffer.data, nbytes);
offset += nbytes;
if (!IsAvailable()) {
/* wake up the sleeping thread */
wake_cond.notify_all();
}
return nbytes;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment