• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Equivalent of gethostbyname_r for Mac OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Equivalent of gethostbyname_r for Mac OS X?


  • Subject: Re: Equivalent of gethostbyname_r for Mac OS X?
  • From: Tron Thomas <email@hidden>
  • Date: Wed, 03 May 2006 07:32:55 -0700

Pelle Johansson wrote:

3 maj 2006 kl. 07.12 skrev Dale Walsh:

I was thinking a little more, I was doing the following in code because this function is supposed to be thread-safe (getaddrinfo).

Unfortunately, while it's supposed to be thread-safe, it currently isn't. That's noted in the BUGS section of the manpage.
I otherwise recommend to use it whenever possible.
--Pelle Johansson




Hey Pelle,
In regard to gethostbyaddr and getaddrinfo, which function are you saying is not thread safe?



_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Equivalent of gethostbyname_r for Mac OS X?
      • From: "Shawn Erickson" <email@hidden>
References: 
 >Equivalent of gethostbyname_r for Mac OS X? (From: Tron Thomas <email@hidden>)
 >Re: Equivalent of gethostbyname_r for Mac OS X? (From: Dale Walsh <email@hidden>)
 >Re: Equivalent of gethostbyname_r for Mac OS X? (From: Tron Thomas <email@hidden>)
 >Re: Equivalent of gethostbyname_r for Mac OS X? (From: Dale Walsh <email@hidden>)
 >Re: Equivalent of gethostbyname_r for Mac OS X? (From: Pelle Johansson <email@hidden>)

  • Prev by Date: Re: Equivalent of gethostbyname_r for Mac OS X?
  • Next by Date: Re: Equivalent of gethostbyname_r for Mac OS X?
  • Previous by thread: Re: Equivalent of gethostbyname_r for Mac OS X?
  • Next by thread: Re: Equivalent of gethostbyname_r for Mac OS X?
  • Index(es):
    • Date
    • Thread