[ruby-cvs:51461] nagachika:r44316 (ruby_2_0_0): merge revision(s) 43851, 43882, 43883, 43995:

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Dec 21 16:02:59 JST 2013


nagachika	2013-12-21 16:02:57 +0900 (Sat, 21 Dec 2013)

  New Revision: 44316

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

  Log:
    merge revision(s) 43851,43882,43883,43995:
    
    * 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: remove duplicate definisions between ATOMIC_XXX
      and ATOMIC_SIZE_XXX.

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


More information about the ruby-cvs mailing list