Re: possibly OT: threadsafe libc
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