[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-java
Subject: weird behavior
From: Mikhail Kruk <meshko () cs ! brandeis ! edu>
Date: 2001-12-28 4:11:33
[Download RAW message or body]
This happens both in linux 1.3.0 and patchset 5. I think it weird enough
to turn out to be interesting to someone.
I have an application which listens on socket and also takes commands from
system.in. So it has a thread which does accept() on a server socket and
also thread which does readLine() on System.in. This combination works
fine until I login as one user and then su to another and start the
program. If I do that, only the console thread (the one that reads lines
from system.in) works -- the socket never returns from accept() call.
...and yes, I did waste 3 hours on this stupidity :(
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic