From: MenTaLguY Date: 2008-02-20T05:44:09+09:00 Subject: Re: threads at end of programs in 1.8/1.9 On Wed, 20 Feb 2008 05:29:29 +0900, "David A. Black" wrote: >> |> I'm not quite sure what all of this adds up to, in terms of > predicting >> |> thread behavior at or near the end of a program. That one can't? :-) >> >> I am afraid that ensuring the simple predictability may hinder the >> threading performance. > > OK -- I just wanted to be sure I was interpreting it correctly. > Thanks. I think it sort of falls under the general rule where if you want two threads to have predictable behavior with respect to one another, then you must establish synchronization between them (in this case, the appropriate synchronization primitive being Thread#join). -mental