Would you? I'm familiar (more or less) with some of them.
Professionally, I currently use one that was written in house,
more than ten years ago. For new use, I would recommend
Boost---it's really low level, so you'll probably want to wrap
parts of it, and the way it handles threads themselves is a bit
wierd (and not very safe---but it can easily be wrapped), but
it's widely used, and has served as the basis of discussion for
what has been adopted by the committee. If you're coming from a
Unix background, it also has the advantage of more or less
implementing the Posix philosophy (rather than the Windows
one---although starting with Vista, I think Windows has also
moved in the direction of Posix).
--
James Kanze (GABI Software) email:james.ka...@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
Yeah, the Boost.thread is the best selection.
I am no clear about the relationship between window and POSIX, bellow
section come from
http://en.wikipedia.org/wiki/POSIX#POSIX_for_Windows
--------------------------------------------------------------------------------
Compliant via compatibility feature
The following are not officially certified as POSIX compatible, but
they conform in large part to the standards by implementing POSIX
support via some sort of compatibility feature, usually translation
libraries, or a layer atop the kernel. Without these features, they
are usually noncompliant.
* eCos – POSIX is part of standard distribution, and used by many
applications. 'external links' section below has more information.
* Plan 9 from Bell Labs APE - ANSI/POSIX Environment[9]
* Symbian OS with PIPS (PIPS Is POSIX on Symbian)
* OpenVMS (through optional POSIX package)
* Windows NT kernel when using Microsoft SFU 3.5 or SUA
o Windows 2000 Server or Professional with Service Pack 3 or
later. To be POSIX compliant, one must activate optional features of
Windows NT and Windows 2000 Server.[10]
o Windows XP Professional with Service Pack 1 or later
o Windows Server 2003
o Windows Vista
* z/OS
--------------------------------------------------------------------------------