An atomic reference implementation for JRuby, Rubinius, and MRI WWW: http://github.com/headius/ruby-atomic