Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #1045

Re: Who needs acquire semantics for read operations?

Received by 10.66.83.74 with SMTP id o10mr3323377pay.33.1346758283154; Tue, 04 Sep 2012 04:31:23 -0700 (PDT)
Received by 10.52.33.34 with SMTP id o2mr2284205vdi.12.1346758282736; Tue, 04 Sep 2012 04:31:22 -0700 (PDT)
Path csiph.com!usenet.pasdenom.info!gegeweb.org!news.snarked.org!newsfeed.news.ucla.edu!usenet.stanford.edu!r4no6296984pbs.0!news-out.google.com!t10ni19137469pbh.0!nntp.google.com!4no6172294pbn.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.programming.threads
Date Tue, 4 Sep 2012 04:31:22 -0700 (PDT)
In-Reply-To <504244da$0$6576$9b4e6d93@newsspool3.arcor-online.net>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=212.118.224.149; posting-account=i6kVbgoAAAAuCYJFWXSXK1yKVc3xQvBY
NNTP-Posting-Host 212.118.224.149
References <f5a18d06-5413-4bef-93f9-96686cd08bb9@k20g2000vbk.googlegroups.com> <504244da$0$6576$9b4e6d93@newsspool3.arcor-online.net>
User-Agent G2/1.0
MIME-Version 1.0
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>
Injection-Date Tue, 04 Sep 2012 11:31:23 +0000
Content-Type text/plain; charset=ISO-8859-2
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.programming.threads:1045

Show key headers only | 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