diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-25 07:46:53 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-25 07:46:53 +0000 |
commit | 2c770d676c4089d7f57abb9ed885d3e458ba6b39 (patch) | |
tree | 8378938525da5ffd76dacec719822994b2d78673 /tool | |
parent | 0d78d991caa9aed8ff3db19586dcf2ac6c3a7fe6 (diff) | |
download | ruby-2c770d676c4089d7f57abb9ed885d3e458ba6b39.tar.gz |
* signal.c (rb_atomic_t): GCC (of at least recent versions)
has ubiquitos support for atomic operations. On that
compiler a C program can isse a memory barrier using these
dedicated instructions. According to the GCC manual they
cargo culted this feature form the Itanium ABI so chances
are that other compilers could also support this feature.
But so far GCC is the only compiler that I know to have it.
Also note that this works on non-Itanium machines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
0 files changed, 0 insertions, 0 deletions