Package : ruby-atomic
Package details
Summary: An atomic reference implementation for JRuby, Rubinius, and MRI
Description:
This library provides:
* an Atomic class that guarantees atomic updates to its contained value
The Atomic class provides accessors for the contained "value" plus two
update methods:
* update will run the provided block, passing the current value and
replacing it with the block result iff the value has not been changed
in the mean time. It may run the block repeatedly if there are other
concurrent updates in progress.
* try_update will run the provided block, passing the current value and
replacing it with the block result. If the value changes before the
update can happen, it will throw Atomic::ConcurrentUpdateError.
URL: http://github.com/headius/ruby-atomic
License: ASL 2.0
Maintainer: nobody
Description:
This library provides:
* an Atomic class that guarantees atomic updates to its contained value
The Atomic class provides accessors for the contained "value" plus two
update methods:
* update will run the provided block, passing the current value and
replacing it with the block result iff the value has not been changed
in the mean time. It may run the block repeatedly if there are other
concurrent updates in progress.
* try_update will run the provided block, passing the current value and
replacing it with the block result. If the value changes before the
update can happen, it will throw Atomic::ConcurrentUpdateError.
URL: http://github.com/headius/ruby-atomic
License: ASL 2.0
Maintainer: nobody
List of RPMs
- ruby-atomic-1.1.14-5.mga4.i586.rpm (Mageia 4, i586 media, core-release) Install