зеркало из https://github.com/github/ruby.git
ruby_atomic.h: fix typo
* ruby_atomic.h (ATOMIC_VALUE_CAS): fix typo. TODO: make arguments of all CAS macros consistent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
09421c5da1
Коммит
22fa19d1dc
|
@ -1,3 +1,8 @@
|
|||
Mon Sep 7 15:54:58 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby_atomic.h (ATOMIC_VALUE_CAS): fix typo.
|
||||
TODO: make arguments of all CAS macros consistent.
|
||||
|
||||
Sun Sep 6 16:07:22 2015 Eric Wong <e@80x24.org>
|
||||
|
||||
* ccan/list/list.h: suppress unused argument warnings
|
||||
|
|
|
@ -168,7 +168,7 @@ ruby_atomic_size_exchange(size_t *ptr, size_t val)
|
|||
# define ATOMIC_VALUE_EXCHANGE(var, val) ATOMIC_EXCHANGE(var, val)
|
||||
# endif
|
||||
# ifndef ATOMIC_VALUE_CAS
|
||||
# define ATOMIC_VALUE_CAS(var, oldval, val) ATOMIC_CAS(var, oldval, newval)
|
||||
# define ATOMIC_VALUE_CAS(var, oldval, val) ATOMIC_CAS(var, oldval, val)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче