added mingw32, win32 threading, timestamp implementation.