What exception guarantees do gcc atomic builtins offer?
I cannot find documentation which states what exception guarantees (none, basic, strong, nothrow) the gcc atomic builti开发者_JS百科ns (e.g. __sync_synchronize()) offer. Can anyone provide details on this?
Since they are usable in C, which does not have exceptions, none of them will throw.
精彩评论