libgcj/13

John Stracke francis@thibault.org
Thu Mar 2 12:30: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>
Cc: tromey@cygnus.com, java-gnats@sourceware.cygnus.com
Subject: Re: libgcj/13
Date: Thu, 02 Mar 2000 15:30:34 -0500

 Bryce McKinlay wrote:
 
 > What version of gcj & libgcj are you using? And what platform?
 
 gcc 2.95.2, libgcj 2.95.1 (the most recent I could find), on RedHat 6.1, with no
 particular flags to configure except for --prefix (didn't want to make a mistake
 and blow away the bundled gcc).  Oh, and --enable-shared (for gcc, not for
 libgcj).
 
 I also tried it with --enable-threads=posix.
 
 > PR libgcj/13 was fixed a long time ago, and I doubt its the cause of your
 > problem.
 
 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.
 
 public class Thread2 implements Runnable {
     public void run()
     {
  try {
      Thread.sleep(100000);
  } catch (java.lang.InterruptedException ie) {
      System.err.println(ie);
  }
     }
 
     public static void main(String args[])
     {
  Thread t=new Thread(new Thread2());
  t.start();
  System.err.println("main thread");
     }
 };
 
 --
 /===============================================================\
 |John Stracke        | http://www.thibault.org |S/MIME, HTML OK |
 |Francois Thibault   |==========================================|
 |Bhakail, East       |"Your reality, sir, is lies & balderdash, |
 |francis@thibault.org|and I am pleased to say I have no grasp on|
 |                    |it whatsoever!" --Baron Munchausen        |
 \===============================================================/
 
 
 


More information about the Java-prs mailing list