Winsock: Use Per-Thread Buffers Instead of Per-Process Buffers
rob at codeweavers.com
Tue Nov 23 13:46:17 CST 2004
According to MSDN, gethostbyname, getservbyname, etc. should all return
a buffer that is allocated once per thread. This patch does this and
consequently makes the functions thread-safe.
Convert per-process hostent, servent and protent buffers into per-thread
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5722 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041123/a23b84d2/winsock_perthreadbuffers.bin
More information about the wine-patches