Dan Moschuk wrote:
>
> | > Yeah, that IS a horrible idea of mine. :) Changing the API should be a last
> | > resort, though, since we don't want to introduce to many FreeBSDisms into the
> | > already-fragmented-enough Unix world.
> | >
> | > Just a thought, how does Linux's GNU libc handle gethostby* in threaded apps?
> |
> | Probably the way POSIX specifies, which would certainly be *our* target.
>
> And does POSIX specify it?
You didn't get the message with the function prototypes? I can send it again.
This would be the *correct* way to implement thread-safe get*by* calls, since
any existing threaded code (Solaris, Linux, etc.) will use these interfaces.
--
"Where am I, and what am I doing in this handbasket?"
Wes Peters Softweyr LLC
http://softweyr.com/ [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- Re: gethostbyaddr() and threads. Wes Peters
- Re: gethostbyaddr() and threads. Brian McGovern
- Re: gethostbyaddr() and threads. Joe Groff
- Re: gethostbyaddr() and threads. Brian McGovern
- Re: gethostbyaddr() and threads. Steve Tarkalson
- Re: gethostbyaddr() and threads. Joe Groff
- Re: gethostbyaddr() and threads. Louis A. Mamakos
- Re: gethostbyaddr() and threads. Joe Groff
- Re: gethostbyaddr() and threads. Wes Peters
- Re: gethostbyaddr() and threads. Dan Moschuk
- Re: gethostbyaddr() and threads... Wes Peters
- Re: gethostbyaddr() and threads... Kip Macy
- Re: gethostbyaddr() and threads. Nate Williams
- Re: gethostbyaddr() and threads. Joe Groff
- Re: gethostbyaddr() and threads. Dan Moschuk
- Re: gethostbyaddr() and threads. Joe Groff
- Re: gethostbyaddr() and threads... Wes Peters
- Re: gethostbyaddr() and threads... Joe Groff
- Re: gethostbyaddr() and threads... Wes Peters
- Re: gethostbyaddr() and threads. Tony Finch
- Re: gethostbyaddr() and threads. Don Lewis

