delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/20/09:40:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=BAYES_50,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
From: Paul Bibbings <paul DOT bibbings AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Cygwin threading support and C++11
Date: Sat, 20 Mar 2010 14:40:32 +0000
Message-ID: <87d3yzf44f.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

In the following thread on the `cygwin' mailing list (April 2009) Dave
Korn explains some of the reasons why threading support is not
available in gcc builds for the Cygwin environment.

http://thread.gmane.org/gmane.os.cygwin/106289/focus=106296

On March 13th of this year Herb Sutter posted a `Trip Report' on the
March 2010 ISO C++ Standards Meeting (Pittsburgh, PA, USA on March 8-13,
2010) announcing that, at this meeting, the Committee approved the
current draft text of C++0x as Final Committee Draft (FCD), effectively
meaning that "assuming all goes well, C++0x could officially be
published as soon as next year as ISO C++ 2011."

One consequence of this is that conforming implementations will be
required to implement threading support in the new standard C++11
libraries <thread>, etc. and, being ahead of the game, gcc already
provides a (currently incomplete) implementation of the C++11 threading
libraries (see:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.200x)
which is not available to current Cygwin users.

For future Cygwin implementations this is very likely still a PTC,
and perhaps someone on this mailing list could confirm this, or
otherwise.  (Unfortunately I don't have the necessary knowledge/skills
to offer my own help, as I would have liked to, but merely wanted to
flag this up as a future issue all the same.)

To reiterate, whilst at present the absence of full threading support in
the Cygwin environment merely means that certain desirable features are
not available to C++ developers using gcc under Cygwin, it will become
an issue of standards compliance with the introduction of C++11.

Regards

Paul Bibbings

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019