import of snapshot of pthreads-win32 code from cvs