From: James Edward Gray II Date: 2006-01-25T22:49:23+09:00 Subject: Re: threading sync On Jan 25, 2006, at 5:41 AM, Mage wrote: > Is appending a hash to the end of an array atomic, or not? How can > I know which method is atomic? In general, assume nothing is atomic in Ruby. Even a simple expression like: my_val = 5 Is many steps inside the interpreter. If you're going to thread, handle all shared resources accordingly. James Edward Gray II