• 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: possibly OT: threadsafe libc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possibly OT: threadsafe libc


  • Subject: Re: possibly OT: threadsafe libc
  • From: AgentM <email@hidden>
  • Date: Wed, 23 Nov 2005 09:21:34 -0600


On Nov 23, 2005, at 7:05 AM, Steve Checkoway wrote:

If the man pages are out of date and not to be trusted, then there needs to be some documentation specifying which functions are thread safe and when they became thread safe.

And until Apple offers something like that, one can also check the source:
http://darwinsource.opendarwin.org/10.4/Libinfo-221/lookup.subproj/ getaddrinfo.c


A quick look over the functions involved suggests that it may be thread-safe since it is just a wrapper around an XDR-powered RPC via a Mach port to lookupd, but it is not documented as thread-safe so I would be hesitant to use it as thread-safe.

|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-
AgentM
email@hidden
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >possibly OT: threadsafe libc (From: Philip Lukidis <email@hidden>)
 >Re: possibly OT: threadsafe libc (From: Eric Albert <email@hidden>)
 >Re: possibly OT: threadsafe libc (From: Steve Checkoway <email@hidden>)
 >Re: possibly OT: threadsafe libc (From: Damien Bobillot <email@hidden>)
 >Re: possibly OT: threadsafe libc (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: possibly OT: threadsafe libc
  • Next by Date: dumb question - lost 'split screen' view, how do I get in back?
  • Previous by thread: Re: possibly OT: threadsafe libc
  • Next by thread: Re: possibly OT: threadsafe libc
  • Index(es):
    • Date
    • Thread