sync operations: where's the barrier?

Geoffrey Keating geoffk@apple.com
Mon Apr 18 22:08:00 GMT 2005


Hi Richard,

The documentation for the atomic operation patterns says things like:

> This pattern must issue any memory barrier instructions such that the
> pattern as a whole acts as a full barrier.

Should the barrier happen before the operation, after the operation, 
are there two barriers, or is it undefined?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2408 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050418/611eaaae/attachment.p7s>


More information about the Gcc mailing list