remote_thr.cpp: port pthreads usage to win32 api