[v3] msvcrt: handle of thread created by _beginthread should not be closed on thread detach.
Piotr Caban
piotr.caban at gmail.com
Mon Feb 1 05:55:28 CST 2016
Hi,
On 02/01/16 12:00, Paul Gofman wrote:
> + /* _beginthreadex: handle is not closed on _endthread */
> + hThread = (HANDLE)_beginthreadex(NULL,0, test_thread_func_ex, NULL, 0, NULL);
> + ok(hThread != INVALID_HANDLE_VALUE, "_beginthreadex failed (%d)\n", errno);
_beginthreadex returns 0 in case of error (not INVALID_HANDLE_VALUE).
Except of it the patch looks good for me.
Thanks,
Piotr
More information about the wine-devel
mailing list