X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=cacao.git;a=blobdiff_plain;f=src%2Fmm%2Fboehm-gc%2Flibatomic_ops-1.2%2Fdoc%2FREADME.txt;h=29c8597693a75e4670596d49fa567be9e4fee556;hp=e7c2f0d1c5bd4900d727b31dc4c5e8961d6f6d0b;hb=c83bff94e40ee0a218a39931af17814d1a42cb5c;hpb=db5750e3eaf39a47dbccccfe7cdd180fb686aac6 diff --git a/src/mm/boehm-gc/libatomic_ops-1.2/doc/README.txt b/src/mm/boehm-gc/libatomic_ops-1.2/doc/README.txt index e7c2f0d1c..29c859769 100644 --- a/src/mm/boehm-gc/libatomic_ops-1.2/doc/README.txt +++ b/src/mm/boehm-gc/libatomic_ops-1.2/doc/README.txt @@ -80,7 +80,7 @@ are also specified: void nop() No atomic operation. The barrier may still be useful. -AO_t load(volatile AO_t * addr) +AO_t load(const volatile AO_t * addr) Atomic load of *addr. void store(volatile AO_t * addr, AO_t new_val) Atomically store new_val to *addr. @@ -230,15 +230,11 @@ Platform notes: All X86: We quietly assume 486 or better. -Windows: -Currently AO_REQUIRE_CAS is not supported. - Microsoft compilers: Define AO_ASSUME_WINDOWS98 to get access to hardware compare-and-swap functionality. This relies on the InterlockedCompareExchange() function which was apparently not supported in Windows95. (There may be a better -way to get access to this.) Currently only X86(32 bit) is supported for -Windows. +way to get access to this.) Gcc on x86: Define AO_USE_PENTIUM4_INSTRS to use the Pentium 4 mfence instruction.