Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2003 13:20:37 -0000
From:      "Steven Hartland" <killing@barrysworld.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   Re: pthread safe name -> address resolution (under linux compat)
Message-ID:  <01ee01c3c632$e4449470$b3db87d4@multiplay.co.uk>

next in thread | raw e-mail | index | archive | help
An update on this is that the app in question will be running under
linux compat. So I suppose this questions changes to:
Is the linux compat version of gethostbyname_r thread safe?

    Steve
----- Original Message ----- 
From: "Steven Hartland" <killing@barrysworld.com>
To: <freebsd-hackers@freebsd.org>
Sent: Friday, December 19, 2003 12:30 PM
Subject: pthread safe name -> address resolution


> I've had a dig around but cant find any concrete answer
> to what to use for name resolution that is pthread safe.
> A number of people mention getaddrinfo and getipnodebyname
> but both are doc'd as not being thread safe.
> 
> Is there a solution to this is do we have to use mutex's?
> 
>     Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01ee01c3c632$e4449470$b3db87d4>