Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Alexander Terekhov Newsgroups: comp.programming.threads Subject: Re: questions about memory_order_seq_cst fence Date: Thu, 16 Jun 2011 18:49:19 +0200 Organization: A noiseless patient Spider Lines: 12 Message-ID: <4DFA340F.40E46617@web.de> References: <43eb372b-6517-4914-b647-860f1f7136ba@k15g2000pri.googlegroups.com> <87boxyfctc.fsf@justsoftwaresolutions.co.uk> <4DF9D581.E607BEB4@web.de> <8739jaf59n.fsf@justsoftwaresolutions.co.uk> <4DF9EF9A.911CC74F@web.de> <87wrgm9bxk.fsf@justsoftwaresolutions.co.uk> <4DFA18D0.3A413EED@web.de> <87oc1xajr3.fsf@justsoftwaresolutions.co.uk> <8EpKp.6157$PA5.402@newsfe01.iad> <877h8lago3.fsf@justsoftwaresolutions.co.uk> Reply-To: terekhov@web.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="MCbSEzW5qwGLFMNXJh39IQ"; logging-data="24322"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yQi3dvdIqKm3zVgingz//GwEjpzhDTUU=" X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en Cancel-Lock: sha1:sVOCN3lNL7EP92LoFtU9qnN9R7o= Xref: x330-a1.tempe.blueboxinc.net comp.programming.threads:312 Anthony Williams wrote: [...] > no such guarantee. An SC load does not add any additional ordering > constraints wrt non-SC operations over and above a load-acquire. Then call it memory_order_seq_cst_as_long_as_you_use_seq_cst_atomics_only and get rid of it being default. regards, alexander.