This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java.lang.Process.waitFor()


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/





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]