[Gc] Re: libatomic_ops
hans.boehm at hp.com
Tue Feb 22 12:38:24 PST 2011
Both C++0x and C1x standards are nearing completion. They both contain closely related atomic operation APIs that in my (admittedly biased) opinion have been much more carefully designed than either ck or libatomic_ops. They definitely benefited from experience with libatomic_ops and interfaces like the gcc __sync primitives. Paul McKenney was a major contributor, so they also received input from someone familiar with the Linux kernel primitives. If we want to make progress here, let's please work on better implementations of those in gcc etc., and then build the higher level libraries on top of those. I consider libatomic_ops and the like a stopgap until those are widely available.
> -----Original Message-----
> From: gc-bounces at linux.hpl.hp.com [mailto:gc-bounces at linux.hpl.hp.com]
> On Behalf Of Kevin Bowling
> Sent: Monday, February 21, 2011 12:56 PM
> To: Ivan Maidanski
> Cc: gc at linux.hpl.hp.com
> Subject: [Gc] Re: libatomic_ops
> ck goes beyond atomic ops and provides memory functions, hazard
> pointers, locks, and complete data structures.
> Here's what ck needs: ports to all the fine archs that libatomic_ops
> has. I contacted the author and would like to help do some ports.
> What do you think about joining up so we all work together and make ck
> the default for concurrent programming? The C community is really
> spread out right now with lockless structures and solid concurrency
> primitives and we have the opportunity to fix this now.
> On Mon, Feb 21, 2011 at 1:03 PM, Ivan Maidanski <ivmai at mail.ru> wrote:
> > Hi Kevin,
> > I'm excited too...
> > Here's the project official site:
> > Thanks for pointing to ck. It would be interesting to compare
> > Regards.
> > Sun, 20 Feb 2011 21:57:37 -0700 Kevin Bowling
> <kevin.bowling at kev009.com>:
> >> Hi,
> >> I've made libatomic_ops available via
> >> https://github.com/kev009/libatomic_ops to ease access. Thank you
> >> your efforts :).
> >> I'm very excited about this project as well:
> >> Regards,
> >> Kevin Bowling
> Gc mailing list
> Gc at linux.hpl.hp.com
More information about the Gc