Well first off this is probably a better question for a Java list.
But I'll answer so if someone checks the archive again they'll find an
answer.

It is probably one of two things if I understand your question
correctly.

1. on your output object you should probably need a call to flush()
after each write or group of writes.

2. second it could be you are blocked on the read call in one thread and
since you are using green threads the thread that writes doesn't run
until you unblock the read.

Brad

On Fri, May 21, 1999 at 02:37:01PM +0100, Gilbert Laycock wrote:

> Using JDE (2.5.1) and NTEmacs, I'm having problems with
> BufferedReader.readLine() to do very simple IO. It appear that my
> input is being passed to the java program, but nothing further is
> echo-ed to the screen until the program is terminated, at which point
> all of the remaining IO is printed out.
>
> Looking back through the news archive of this list at sunsite.auc.dk,
> I have seen the problem mentioned once or twice before, but never an
> answer. Is there any solution?
>

-- 
--- There are two kinds of knowledge, you either know the answer or
                        you know where to find it
                      -Kane, Johnson, and anonymous

Reply via email to