ruby-changes:32686
From: usa <ko1@a...>
Date: Thu, 30 Jan 2014 20:16:08 +0900 (JST)
Subject: [ruby-changes:32686] usa:r44765 (ruby_1_9_3): * ruby_atomic.h (ATOMIC_PTR_EXCHANGE): fixed previous commit.
usa 2014-01-30 20:16:05 +0900 (Thu, 30 Jan 2014) New Revision: 44765 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44765 Log: * ruby_atomic.h (ATOMIC_PTR_EXCHANGE): fixed previous commit. Modified files: branches/ruby_1_9_3/ruby_atomic.h branches/ruby_1_9_3/version.h Index: ruby_1_9_3/ruby_atomic.h =================================================================== --- ruby_1_9_3/ruby_atomic.h (revision 44764) +++ ruby_1_9_3/ruby_atomic.h (revision 44765) @@ -19,7 +19,7 @@ typedef unsigned int rb_atomic_t; /* Any https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/ruby_atomic.h#L19 # define ATOMIC_SIZE_INC(var) __sync_fetch_and_add(&(var), 1) # define ATOMIC_SIZE_DEC(var) __sync_fetch_and_sub(&(var), 1) # define ATOMIC_SIZE_EXCHANGE(var, val) __sync_lock_test_and_set(&(var), (val)) -# define ATOMIC_PTR_EXCHANGE(var, val) __atomic_exchange_n(&(var), (val), __ATOMIC_SEQ_CST) +# define ATOMIC_PTR_EXCHANGE(var, val) __sync_lock_test_and_set(&(var), (val)) #elif defined _WIN32 #if defined _MSC_VER && _MSC_VER > 1200 Index: ruby_1_9_3/version.h =================================================================== --- ruby_1_9_3/version.h (revision 44764) +++ ruby_1_9_3/version.h (revision 44765) @@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1 #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 507 +#define RUBY_PATCHLEVEL 508 #define RUBY_RELEASE_DATE "2014-01-30" #define RUBY_RELEASE_YEAR 2014 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/