-
Cédric Boutillier authoredCédric Boutillier authored
README.md 3.59 KiB
Ruby Atomic
An atomic reference implementation for JRuby, Rubinius, and MRI.
Deprecated!
This gem has been deprecated in lieu of Concurrent Ruby.
This gem will be retained in GitHub and Rubygems.org indefinitely but no new development
will occur, including updates to support new versions of Ruby, JRuby, and Java. All users
of this gem are encouraged to update their projects to use concurrent-ruby
instead.
All code from this gem has been merged into concurrent-ruby
and its companion gems.
All abstrations in this library are available in concurrent-ruby
but have been moved
under the Concurrent
module to avoid namespace collisions.
# old way
require 'atomic'
my_atomic = Atomic.new(0)
# new way
require 'concurrent'
my_atomic = Concurrent::Atomic.new(0)
Old Documentation
For historic purposes only...