Writing a paper about my adventures with pthreads is gonna be great.
Surprisingly, it's not the Windows thread API that's awful, it's just pthreads.
pthreads is garbage.
Everyone has so, SO many pthread_foo_np -- where the np at the end stands for "nonportable" -- things to do bogstandard basic shit that it's infuriating, and even if you're working with "just" pthreads, in practice it's actually more fucked than just working with the win32 thread API or TlsAlloc.
POSIX just keeps churning out bad API after bad API.