Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.programming.threads > #1045

Re: Who needs acquire semantics for read operations?

Newsgroups comp.programming.threads
Date 2012-09-04 04:31 -0700
References <f5a18d06-5413-4bef-93f9-96686cd08bb9@k20g2000vbk.googlegroups.com> <504244da$0$6576$9b4e6d93@newsspool3.arcor-online.net>
Message-ID <f891ec8b-fa94-4dc6-bf94-60cc95c984df@googlegroups.com> (permalink)
Subject Re: Who needs acquire semantics for read operations?
From Václav Zeman <v.haisman@sh.cvut.cz>

Show all headers | View raw


Dne sobota, 1. září 2012 19:24:43 UTC+2 Marcel Müller napsal(a):
> On 01.09.12 10.28, Rani Sharoni wrote:
> 
> > AFAIU, acquire semantics for read operations is guaranteed for
> 
> > volatile variables by the MSVC compiler.
> 
> 
> 
> AFAIK x86/x64 has no memory reordering anyway. VC can only compile for 
> 
> x86/x64. So volatile is mostly useless. Is mainly disables the optimizer.
Visual Studio can actually compile also for IA64 and that does support memory access reordering, AFAIK.

-- 
VZ

Back to comp.programming.threads | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Who needs acquire semantics for read operations? Marcel Müller <news.5.maazl@spamgourmet.org> - 2012-09-01 19:24 +0200
  Re: Who needs acquire semantics for read operations? Rani Sharoni <ranisharoni75@gmail.com> - 2012-09-02 00:10 -0700
    Re: Who needs acquire semantics for read operations? Marcel Müller <news.5.maazl@spamgourmet.org> - 2012-09-02 10:13 +0200
  Re: Who needs acquire semantics for read operations? Václav Zeman <v.haisman@sh.cvut.cz> - 2012-09-04 04:31 -0700
    Re: Who needs acquire semantics for read operations? Marcel Müller <news.5.maazl@spamgourmet.com> - 2012-09-04 15:24 +0200
      Re: Who needs acquire semantics for read operations? Rani Sharoni <ranisharoni75@gmail.com> - 2012-09-04 23:41 -0700
  Re: Who needs acquire semantics for read operations? Toby Douglass <a@b.com> - 2012-09-10 09:41 +0200

csiph-web