[cfe-dev] libc++ for Windows

David Chisnall theraven at sucs.org
Sat Jan 1 05:33:29 PST 2011


On 1 Jan 2011, at 11:11, Ruben Van Boxem wrote:

> There is some work on the way to reimplement pthread API in the
> mingw-w64 runtime

I've not looked at this, but it's worth noting that supporting the pthread API on Windows is MUCH easier if you are willing to break XP compatibility.  Microsoft introduced a new set of primitives with Vista that mean that you no longer need the complex userspace stuff to implement the various POSIX synchronisation primitives that weren't properly supported by Windows.  These should also be expressive enough for most of the C++0x threading stuff if used directly, so supporting Vista+ is likely to be much easier than supporting XP and earlier.

David

-- Sent from my PDP-11





More information about the cfe-dev mailing list