public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/15430] New: Cannot interrupt blocking I/O calls with close()
@ 2004-05-14  1:23 mckinlay at redhat dot com
  2004-05-14  1:26 ` [Bug libgcj/15430] " mckinlay at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: mckinlay at redhat dot com @ 2004-05-14  1:23 UTC (permalink / raw)
  To: java-prs

When close() is called on a Socket or ServerSocket, it should cause a
SocketException to be thrown on any thread which is blocked on I/O operations on
that socket.

In libgcj, no exception is thrown, and the I/O thread remains blocked even
though the socket has been closed.

The attached test case demonstrates the problem for accept() and read(). The
problem most likely occurs for other calls such as write() and connect() as
well. This test case should be extended to cover these other calls, and added to
mauve.

-- 
           Summary: Cannot interrupt blocking I/O calls with close()
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckinlay at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15430


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <bug-15430-6651@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-11-25 19:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-14  1:23 [Bug libgcj/15430] New: Cannot interrupt blocking I/O calls with close() mckinlay at redhat dot com
2004-05-14  1:26 ` [Bug libgcj/15430] " mckinlay at redhat dot com
2004-05-14  1:29 ` pinskia at gcc dot gnu dot org
2004-08-14  6:59 ` pinskia at gcc dot gnu dot org
2005-01-15 22:30 ` konqueror at gmx dot de
     [not found] <bug-15430-6651@http.gcc.gnu.org/bugzilla/>
2005-11-09 17:46 ` daney at gcc dot gnu dot org
2005-11-09 18:22 ` aph at gcc dot gnu dot org
2005-11-09 19:24 ` daney at gcc dot gnu dot org
2005-11-10  0:34 ` daney at gcc dot gnu dot org
2005-11-15 19:11 ` daney at gcc dot gnu dot org
2005-11-15 19:16 ` daney at gcc dot gnu dot org
2005-11-25 19:10 ` guilhem at kaffe dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).