[freetds] threadsafe

Patrick Welche prlw1 at newn.cam.ac.uk
Tue Aug 29 07:41:12 EDT 2006


On Wed, Aug 23, 2006 at 09:59:05PM +0200, Frediano Ziglio wrote:
> Now I understand. You suggested to use getaddrinfo instead of
> gethostbyname_r if not available. I though you means why we test for
> getaddrinfo in configure... I think that one of the reasons why I didn't
> use getaddrinfo is that on *BSD (where it is helpful to use it) this
> function is not thread-safe...

getaddrinfo is thread-safe on, yes it is NetBSD :-) , but the jury is out
for getnameinfo..

Cheers,

Patrick



More information about the FreeTDS mailing list