On Wed, 20 Feb 2008 05:29:29 +0900, "David A. Black" <dblack / rubypal.com> 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