From: matz@... (Yukihiro Matsumoto) Date: 2000-02-28T13:09:35+09:00 Subject: [ruby-talk:01619] Re: thread-local $-prefixed variable Hi, In message "[ruby-talk:01618] thread-local $-prefixed variable" on 00/02/28, GOTO Kentaro writes: |>Also, speaking of global variables, what happens to the global variables |>in a multithreaded program? Does each thread get a different copy of, |>e.g. $! if they each raise an exception at the same time? | |I don't know the complete list of thread-local $-prefixed variables. |I hope anyone will list here. $!, $@, $?, $_, $~, $SAFE, __FILE__, __LINE__ and all other regexp variables like $&, $1, etc.