The following has been pushed to the brolley/dev branch of the pcpfans
repository:
commit 99d255d276eee6f9780867bb9ce6a4a0b83314f7
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Fri May 3 11:05:09 2013 -0400
Remove __pmLock_libpcp locks from around calls to __pmGetAddrInfo().
One of the benefits of using getaddrinfo() and getnameinfo(),
as opposed to their deprecated counterparts, gethostbyname() and
gethostbyaddr(), is that the new APIs are re-entrant. As such, it
is not necessary to enforce locks around calls to these functions
nor the iteration over the returned data.
This commit removes the remaining locks around __pmGetAddrInfo().
There were no remaining locks around __pmGetNameInfo().
|