From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11285 invoked by alias); 25 Nov 2011 10:24:34 -0000 Received: (qmail 11269 invoked by uid 22791); 25 Nov 2011 10:24:34 -0000 X-SWARE-Spam-Status: No, hits=-7.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail1-relais-roc.national.inria.fr (HELO mail1-relais-roc.national.inria.fr) (192.134.164.82) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Nov 2011 10:24:20 +0000 Received: from ip-197.net-81-220-142.rev.numericable.fr (HELO laptop-mg.local) ([81.220.142.197]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 25 Nov 2011 11:24:18 +0100 Date: Fri, 25 Nov 2011 15:19:00 -0000 From: Marc Glisse Reply-To: gcc-help@gcc.gnu.org To: Jonathan Wakely cc: "Erotavlas_turbo@libero.it" , gcc-help@gcc.gnu.org Subject: Re: GCC: C0x11 threading support In-Reply-To: Message-ID: References: <26309068.4315341322211549493.JavaMail.root@wmail21> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00261.txt.bz2 On Fri, 25 Nov 2011, Jonathan Wakely wrote: > On 25 November 2011 08:59, Erotavlas_turbo@libero.it wrote: >> Hi, >> >> I have read that the threading programming proposed in new C++ standard >> (C0x11) > > (It was informally called C++0x but is now published and often > referred to as C++11, but calling it C++0x11 makes no sense.) > >> is supported by GCC but only a small subset of features are available. >> So for the moment is better to use the boost thread library (that should be the >> same adopted by new standard, correct me if I'm wrong) or the complete support >> by GCC is not so far? > > Since you suggest Boost as an alternative I assume you are only > talking about the new library classes (since that's all Boost > provides). The library features are almost complete: > http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.200x > > There is more work to be done for the core language features: > http://gcc.gnu.org/projects/cxx0x.html > http://gcc.gnu.org/wiki/Atomic/ > http://gcc.gnu.org/wiki/Atomic/GCCMM Those don't seem to mention that the branch was recently merged into trunk. That doesn't make the support complete though. -- Marc Glisse