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
Generic atomic template and lock-free CASN
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
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
 
Mathias Gaunard  
View profile  
 More options Jan 23 2007, 10:07 am
Newsgroups: comp.std.c++
From: Mathias Gaunard <loufo...@remove.gmail.com>
Date: Tue, 23 Jan 2007 09:07:58 CST
Local: Tues, Jan 23 2007 10:07 am
Subject: Generic atomic template and lock-free CASN
N2145 (C++ Atomic Types and Operations) says:

"The intent is that vendors will specialize a fully-general locking
implementation of a generic atomic template with implementations using
hardware primitives when those primitives are applicable."

Doesn't that explicitly prevent the operations to be implemented in a
lock-free way if hardware primitives don't exist for the size/alignment
of the type?

As far as I know, there are multiple lock-free algorithms to implement
CASN (multi-word compare and swap) with CAS.

Wouldn't it be worth consideration?

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-...@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »