[ws2_32] make closesocket cancel pending I/O operations

Kai Blin kai.blin at gmail.com
Mon Dec 4 02:54:50 CST 2006


On Monday 04 December 2006 07:01, Damjan Jovanovic wrote:
> On Windows, calling closesocket in one thread causes blocking I/O
> operations on that socket (select, accept) running in other threads to
> return immediately. On Linux, the I/O will block forever. Calling
> shutdown as part of closesocket reproduces the same behaviour under
> Linux. Closes #4619 and #3777.

Sweet, this seems to solve part of the problems in bug #5534, too.

Thanks,
Kai

-- 
Kai Blin, <kai Dot blin At gmail Dot com>
WorldForge developer    http://www.worldforge.org/
Wine developer          http://wiki.winehq.org/KaiBlin/
--
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20061204/12d22ab6/attachment.pgp


More information about the wine-devel mailing list