mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
09421c5da1
commit
22fa19d1dc
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue