dlls/ws2_32/tests/sock.c: Wait on thread handles before closing sockets

Alexandre Julliard julliard at winehq.org
Wed Jul 16 13:16:52 CDT 2008


Jon Griffiths <jon_p_griffiths at yahoo.com> writes:

> In the socket tests, avoid a race by waiting for the read threads to
> finish before closing the sockets (found during TransmitFile testing).

CloseHandle doesn't wait for the thread to finish, so this has no
effect. In any case there doesn't seem to be any need to wait in those
tests.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list