[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    Re: gethostbyname_r
From:       "Corey Brenner" <coreybrenner () hotmail ! com>
Date:       1999-04-26 8:18:04
[Download RAW message or body]

> POSIX p1003.1g DOES specify getaddrinfo(), which will do everything
> that gethostbyname() will do and has an interface that is thread-
> safe.

Seems to me there should be a way (using a pthread_attr_t, maybe?)
to implement a thread-specific opaque data area for netdb lookups.
I believe that's what Digital et al. have done.

--Corey

_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic