Subject: | |
From: | |
Reply To: | |
Date: | Mon, 27 Nov 2000 14:33:22 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 17:19 23-11-00 -0500, Kelvin wrote:
>I write a java program that works in NT, Linux but not MPE/IX HP 3000.
. . .
>public class test implements Runnable
>{
> private test aClient;
> private boolean bContinue = true;
> private long sleepTime= 5000;
> private Thread myThread, tKeyboard;
. . .
Hmmm. A thread waiting for keyboard input... Seems to ring a bell
with me. I haven't checked lately, but seem to recall that terminal
I/O on MPE might not be thread-capable. It could probably block in
the FREAD intrinsic or some select() system call (native method call)
and "freeze" the green_threads running in the process' Java VM.
No idea if DTC versus NS/VT versus Telnet might make a difference.
Redirecting stdin to a named pipe, that is driven with input from a
cat -u command in another session, might help to get an idea if my
guess regarding "direct keyboard input" is "on track". This at least
helped me with a seemingly similar issue with smbclient trying to do
a select() on the terminal. (Not that it provided a workaround, but
at least gave an indication about the underlying issue).
Lars.
|
|
|