[ruby-cvs:60046] nobu:r52893 (trunk): ruby_atomic.h: fix old value type of ATOMIC_CAS

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Dec 5 09:56:53 JST 2015


nobu	2015-12-05 09:56:52 +0900 (Sat, 05 Dec 2015)

  New Revision: 52893

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

  Log:
    ruby_atomic.h: fix old value type of ATOMIC_CAS
    
    * ruby_atomic.h (ATOMIC_CAS): old value to be swapped should be
      same as the destination.  immediate value may need type
      promotion.

  Modified files:
    trunk/ChangeLog
    trunk/ruby_atomic.h


More information about the ruby-cvs mailing list