libgcj/13
John Stracke
francis@thibault.org
Thu Mar 2 12:50:00 GMT 2000
The following reply was made to PR libgcj/13; it has been noted by GNATS.
From: John Stracke <francis@thibault.org>
To: Bryce McKinlay <bryce@albatross.co.nz>, tromey@cygnus.com,
java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: libgcj/13
Date: Thu, 02 Mar 2000 15:47:12 -0500
John Stracke wrote:
> You're right; it seems to be a more general problem. Here's a test case where the
> parent thread hangs until the child terminates, even though the child isn't doing
> any I/O.
It doesn't seem to be because of the parent's I/O, either. I ran it under gdb, and
the call to t.start() blocked for the 100 seconds until run() returned:
(gdb) break main__7Thread2Pt6JArray1ZPQ34java4lang6String
Breakpoint 1 at 0x804b315: file Thread2.java, line 13.
(gdb) run
Starting program: /home/francis/work/experiments/gcj/threads/Thread2
Breakpoint 1, Thread2.main (args=@806fff0) at Thread2.java:13
13 Thread t=new Thread(new Thread2());
Current language: auto; currently java
(gdb) next
14 t.start();
(gdb) shell date
Thu Mar 2 15:44:25 EST 2000
(gdb) next
15 System.err.println("main thread");
(gdb) shell date
Thu Mar 2 15:46:07 EST 2000
--
/===============================================================\
|John Stracke | http://www.thibault.org |S/MIME, HTML OK |
|Francois Thibault |==========================================|
|Bhakail, East |The problem with any unwritten law is that|
|francis@thibault.org|you don't know where to go to erase it. |
\===============================================================/
More information about the Java-prs
mailing list