"Elcaro Nosille" <Elcaro.Nosi...@mailinator.com> wrote in messagenews:email@example.com...
> Chris Thomasson schrieb:Fences are necessary on x86 when your algorithm can't handle the fact that a
> Why do you think fences are necessary. When we're synchronizing threads,
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
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.