With Solaris green threads, if one thread is blocked in ServerSocket.accept and another thread closes that socket, there appears to be no effect on the accept call; no exception is thrown. With Solaris native threads, the result is that the process no longer responds to shell job control (^C, ^Z, etc), it has to be killed with a kill -9 from another shell. See the attached test program.
- duplicates
-
JDK-4096914 (hpi) Closing an active file descriptor blocks on Solaris native threads
-
- Closed
-