b38f12bdd4
before the reader woke up - this made the reader loop again, waiting for another writer, even though there was input available. Thanks to Jaromir for spotting the real cause and sugesting a solution. This should fix PR port-sparc64/20283.