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