- added special implementation for pthreads on windows (forgot to add in my previous checkin)