Help about implementing WSACleanup (ws2_32)

Erich E. Hoover erich.e.hoover at gmail.com
Fri Feb 21 19:18:50 CST 2014


On Fri, Feb 21, 2014 at 6:12 PM, Bruno Jesus <00cpxxx at gmail.com> wrote:
> ...
> I did it in the simplest way I found, I was not aware the server did
> that, what are the advantages?

I believe that it was done this way so that it is only necessary to
resize the list memory when growing the table (since applications can
add and remove handles very rapidly and copying is expensive).  It
also makes it very fast to find an entry since you don't need to
search the list, you just jump to its offset.

Best,
Erich



More information about the wine-devel mailing list