Hi,

In message "Re: [ruby-core:18465] Re: Global constants and other magic in 1.9 stdlib"
    on Sat, 6 Sep 2008 07:10:46 +0900, "David A. Black" <dblack / rubypal.com> writes:

|> Since $? is a result from waitpid, which is not always bound to a
|> thread.
|
|I'm wondering if I'm misinterpreting this as thread-local $? behavior,
|and if it isn't, then what's accounting for the two $?'s:

My bad.  I forgot that Ruby does save/restore $? value at the
context switching.  It is thread-local.

							matz.