This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin threading support and C++11


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]