24 Feb 20:52
Fwd: C++0x developments
From: Reed Hedges <reed@...>
Subject: Fwd: C++0x developments
Newsgroups: gmane.comp.lib.vos.devel
Date: 2008-02-24 19:53:29 GMT
Subject: Fwd: C++0x developments
Newsgroups: gmane.comp.lib.vos.devel
Date: 2008-02-24 19:53:29 GMT
-------- Original Message -------- Subject: [liblf-dev] C++0x developments Date: Fri, 22 Feb 2008 12:47:36 -0500 From: Bjorn Roche <bjorn@...> Reply-To: liblf-dev@... To: liblf-dev@... Hey all, I just wanted to update everyone on the latest developments in C++0x (hopefully that will be C++08!). Lawrence Crowl, one of the members of the committee gave a talk to google back in may about the developments: http://video.google.com/videoplay?docid=3528799355371049884 <http://video.google.com/videoplay?docid=3528799355371049884> One of the most important things is that C++ will have built-in support for threads, including a memory model, synchronization and atomics. Since he gave his talk, the committee has decided to add limited support for fences as well. Note that GCC currently has intrinsic support for atomic operations (http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Atomic-Builtins.html <http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Atomic-Builtins.html> ) and even fences, so it's possible to build such types now that's at least compatible with gcc. I'm going to write a prototype for and atomic int for GCC if anyone is interested -- should be pretty simple with those intrinsics, but who knows.(Continue reading)
RSS Feed