_beginthreadex 当失败时返回0 而不是 -1L_beginthreadex调用之后返回的HANDLE,必须手动CloseHandle,才能正确释放句柄。 出处: http://www.cnblogs.com/zhangdongsheng/ 作者: 张东升