[ruby-cvs:50995] glass:r43851 (trunk): * ruby_atomic.h: use __atomic builtin functions supported by GCC.

glass at ruby-lang.org glass at ruby-lang.org
Tue Nov 26 11:45:54 JST 2013


glass	2013-11-26 11:45:53 +0900 (Tue, 26 Nov 2013)

  New Revision: 43851

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

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
    trunk/ruby_atomic.h


More information about the ruby-cvs mailing list