Hi,

In message "Re: [ruby-core:18461] Re: Global constants and other magic in 1.9	stdlib"
    on Sat, 6 Sep 2008 01:03:04 +0900, Paul Brannan <pbrannan / atdesk.com> writes:

|$_ is thread-local, but $? really is global:
|
|  rb_define_readonly_variable("$?", &rb_last_status);
|
|I'm sure there's a good reason, but I don't know what it is. (maybe
|something to do with calling Process.wait from a signal handler?)

Since $? is a result from waitpid, which is not always bound to a
thread.

							matz.