This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: java.lang.Process.waitFor()
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: aph at redhat dot com, java at gcc dot gnu dot org, Erik Poupaert <erik dot poupaert at freestyler-toolkit dot org>
- Date: Sun, 28 Sep 2003 10:51:45 -0500
- Subject: Re: java.lang.Process.waitFor()
- Reply-to: gnustuff at thisiscool dot com
Hi Erik,
>"Thread.join()" seems indeed the way to wait for another thread to finish. I think
>it's perfect now; and it works perfectly on linux. I've removed the silly
>"Thread.sleep()" and replaced it:
>I just hope that it works on GCJ 3.3/win32 as well?
I think it does. You just can't interrupt the join().
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/