Alexandre Julliard wrote:
I don't think we can implement Win32 primitives on top of pthreads, at least not in a reasonable way. We may be able to do it on top of the raw kernel futexes, but that's not exactly libc integration (and it will most likely require new kernel features too). And the only reason for doing that would be performance, it's certainly not going to make things more intuitive or more solid.
Somebody begs to differ. From http://downloads.transgaming.com/files/winex-3_0_releasenotes.txt :
* The core threading model has moved to pthreads to decouple WineX from the continuing changes to certain core system libraries.
If Gav can do it, why can't we? :-) - Dan