pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ruby-atomic



Module Name:    pkgsrc
Committed By:   taca
Date:           Fri Sep 13 12:59:41 UTC 2013

Added Files:
        pkgsrc/devel/ruby-atomic: DESCR Makefile PLIST distinfo

Log Message:
Add ruby-atomic package version 1.1.14.

Ruby-atomic is an atomic reference implementation for JRuby, Rubinius, and MRI.

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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ruby-atomic/DESCR \
    pkgsrc/devel/ruby-atomic/Makefile pkgsrc/devel/ruby-atomic/PLIST \
    pkgsrc/devel/ruby-atomic/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index