[ruby-cvs:52097] usa:r44952 (ruby_1_9_3): merge revision(s) 43851, 43882, 43996:

usa at ruby-lang.org usa at ruby-lang.org
Fri Feb 14 19:10:08 JST 2014


usa	2014-02-14 19:10:07 +0900 (Fri, 14 Feb 2014)

  New Revision: 44952

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44952

  Log:
    merge revision(s) 43851,43882,43996:
    
    * ruby_atomic.h: use __atomic builtin functions supported by GCC.
      __sync family are legacy functions now and it is recommended
      that new code use the __atomic functions.
      http://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
    
    * configure.in: check existence of __atomic functions.
    
    * ruby_atomic.h: define ATOMIC_SIZE_CAS() with
      __atomic_compare_exchange_n() and refactoring.
    
    * ruby_atomic.h (ATOMIC_PTR_EXCHANGE): atomic exchange function for
      a generic pointer.

  Modified directories:
    branches/ruby_1_9_3/
  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/configure.in
    branches/ruby_1_9_3/ruby_atomic.h
    branches/ruby_1_9_3/version.h


More information about the ruby-cvs mailing list