diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 10:21:59 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 10:21:59 +0000 |
commit | 5faf4cc77b6a223dc86fddc69e0f377d27f5585a (patch) | |
tree | 72c3ab3a69bfe7684b05ef9279e30aeeee239697 /sample | |
parent | 6d1266a879a94a6f76106e1bbdfa3576b6612a69 (diff) | |
download | ruby-5faf4cc77b6a223dc86fddc69e0f377d27f5585a.tar.gz |
* ruby_atomic.h (ATOMIC_CAS): added for Solaris and other platforms.
* ruby_atomic.h, signal.c (NEED_RUBY_ATOMIC_OPS): renamed from
NEED_RUBY_ATOMIC_EXCHANGE.
* signal.c (ruby_atomic_compare_and_swap): naive, non-atomic
compare-and-swap implementation only used for platforms without
valid support for atomic operations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
0 files changed, 0 insertions, 0 deletions