This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 01/10/15 18:34 +0100, Andrew Haley wrote:
On 10/01/2015 06:32 PM, Jonathan Wakely wrote:I would suggest we don't try to reproduce the standard definition, but just say the weak version can fail spuriously and the strong can't. IMHO this isn't the place to educate people in the fine points of low-level atomics. As it says, "when in doubt use the strong variation". i.e. apply this in addition to my earlier suggestion."If you don't already know what a weak CAS is you probably should not even think of using it." :)
Exactly. These are not the built-ins you're looking for. :)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |