File: //usr/local/rvm/gems/default/doc/concurrent-ruby-1.1.9/ri/Concurrent/AtomicDirectUpdate/update-i.ri
U:RDoc::AnyMethod[iI"update:ETI"*Concurrent::AtomicDirectUpdate#update;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"+@!macro atomic_reference_method_update;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"=Pass the current value to the given block, replacing it
;TI"=with the block's result. May retry if the value changes
;TI"#during the block's execution.
;TI"
;TI"J@yield [Object] Calculate a new value for the atomic reference using
;TI" given (old) value
;TI"O@yieldparam [Object] old_value the starting value of the atomic reference
;TI"#@return [Object] the new value;T:@format0:
@fileI">lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb;T:0@omit_headings_from_table_of_contents_below00I"old_value;T[ I"();T@FI"AtomicDirectUpdate;TcRDoc::NormalModule00