[Mingw-w64-public] Thoughts on supporting the C++11 thread library on Windows

Gabriel Dos Reis gdr@integrable-solutions.net
Wed May 9 16:21:00 GMT 2012


On Wed, May 9, 2012 at 11:00 AM, K. Frank <kfrank29.c@gmail.com> wrote:

> Conversely, if you want to mix <thread> with pthreads, then a
> pthreads implementation for <thread> makes sense.

except that on Windows, programmers don't typically
expect posix functions.  If you want posix emulation on Windows,
the general expectation is that one uses a third party library.
Constructing that library and derivatives becomes much more involved than
it ought to be when the compiler (which is going to be used
to compile those components) does not provide direct access to the underlying
OS threading model.

-- Gaby



More information about the Libstdc++ mailing list