posix_getpid 函数win下失效问题 posix_getpid 是linux下的函数,在windows是没有的(not implemented),在windows下可以使用get_current_user()。