posted 18 years ago
I'm not sure if your problem is the same as the one I had with PipedReader/Writer, but it might be, so I'll share it.
The documentation doesn't say so, but UTSL reveals that PipedReader/Writer expect exactly one thread to do the reading and one thread to do the writing. If one of those threads dies, it considers the pipe broken.
So, you can't do what I tried to do. I had a PipedReader open on one thread, connected to a PipedWriter. I tried to write snippets to the PipedWriter from various threads. But when the first writing thread died, so did my PipedReader/Writer.
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.