commit | 84ac2580412b4a4c8e705ce5b2fa33dc057aea87 | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Mon Sep 21 16:54:54 2009 -0700 |
committer | Jesse Wilson <jessewilson@google.com> | Mon Sep 21 18:37:42 2009 -0700 |
tree | e3af9c7005307495b55404fe7065f89167b1a485 | |
parent | 4d2cec327c91304574dd15bdb15d1f5c6c6b1c7a [diff] |
Cleaning up PipedInputStream. In particular, fixing a problem where the reader thread fails as soon as the writer thread exists, even if there is data left for the reader thread to read. Similarly, the writer fails fast even when the buffer has space remaining. Also fixing some concurrency issues by making readers and writers release each other more aggressively.