Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Why do I get the error:Write end dead. in Piped ?

Posted on 2001-08-27
7
Medium Priority
?
885 Views
Last Modified: 2008-03-10
Hi,
Why do I get the error:Write end dead. in Piped ?
The PipedReader is in a child thread,
and the PipedWriter in the main parent thread.
When I put the string into the pip in the main thread,
the child thread's piped can get the string.
But,I set the PipedReader object int a for(;;) section,
the object can get the string too,and also throw the
java.IOException:Write end dead.
Why?
0
Comment
Question by:cocia
  • 4
  • 3
7 Comments
 
LVL 16

Expert Comment

by:heyhey_
ID: 6430931
> java.IOException:Write end dead.

probably the other thread (writer) has closed the pipe.
0
 

Author Comment

by:cocia
ID: 6431947
heyhey:
but I can read data again from pipe.
What's meaning?
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 6431970
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:cocia
ID: 6432070
Thanks heyhey.
I go back to read this article!
I think I will get the answer.
Thanks!
0
 

Author Comment

by:cocia
ID: 6432088
heyhey:
How can I send the points to u!
0
 
LVL 16

Accepted Solution

by:
heyhey_ earned 200 total points
ID: 6432119
just accept this answer with grade A :)
0
 

Author Comment

by:cocia
ID: 6432246
:)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question