Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion x86 Sequential Consistency
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris Thomasson  
View profile  
 More options Nov 19 2006, 8:05 pm
Newsgroups: comp.arch, comp.programming.threads
From: "Chris Thomasson" <cris...@comcast.net>
Date: Sun, 19 Nov 2006 17:05:11 -0800
Local: Sun, Nov 19 2006 8:05 pm
Subject: Re: x86 Sequential Consistency
"Elcaro Nosille" <Elcaro.Nosi...@mailinator.com> wrote in message

news:456044a6$0$5710$9b4e6d93@newsspool3.arcor-online.net...

>   Chris Thomasson schrieb:

>> http://groups.google.com/group/comp.programming.threads/msg/b0ab2c440...
>> http://groups.google.com/...
>> http://groups.google.com/...

> Why do you think fences are necessary. When we're synchronizing threads,
> we're at least using an atomic op which does the fencing for us.

Fences are necessary on x86 when your algorithm can't handle the fact that a
store followed by a load to another location can, and will, be reordered...
For instance, Petersons Algorithm needs to use an mfence in order to prevent
the latter load from the other state variable from migrating above the lock
acquisition logic:

http://groups.google.com/group/comp.programming.threads/browse_frm/th...
(if you study the code, you should know exactly why a mfence is needed...)

;^)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.