Date: Sat, 22 Jul 2000 00:40:29 +0800 From: "Tan Juay Kwang" <tanjk@i-dns.net> To: "Richard Seaman, Jr." <dick@tar.com> Cc: <freebsd-questions@FreeBSD.ORG> Subject: RE: pthreads on 4.0-STABLE Message-ID: <NEBBLKHLGDECFCNMHPEECEANCPAA.tanjk@i-dns.net> In-Reply-To: <20000720173001.C404@tar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0021_01BFF375.6F2FF3C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > > On Thu, Jul 20, 2000 at 04:28:31PM -0500, Richard Seaman, Jr. wrote: > > > Ideally, a threads package will provide gethostbyname_r, where you > > pass a buffer for the result so you can avoid having to wrap the > > call in a mutex. Unfortunately, I don't see this call in the > > FreeBSD user threads package. Such a call does exist in > linuxthreads > > (as well as the FreeBSD linuxthreads port -- > > see /usr/ports/devel/linuxthreads). > > I forgot. You can also use the newer getaddinfo(3) call. This > is probably preferable, though I'm not sure about how portable > this is. > Did a 'man getaddinfo' on RedHat and turns up nothing. Not sure about others. Best regards, Juay Kwang ------=_NextPart_000_0021_01BFF375.6F2FF3C0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHKjCCAy4w ggKXoAMCAQICEQDSdi6NFAw9fbKoJV2v7g11MA0GCSqGSIb3DQEBAgUAMF8xCzAJBgNVBAYTAlVT MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMgUHJpbWFy eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw05ODA1MTIwMDAwMDBaFw0wODA1MTIyMzU5NTla MIHMMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECx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R7wWORxVnvGkoEr8xIWO7owSn0t/j8mryQPfxb0xS+0ctx1 z+UQbQV915SXPA5ygqBPotadaG9Ca8OvHkRqeFEz6GqLjSAAAAAAAAA= ------=_NextPart_000_0021_01BFF375.6F2FF3C0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBLKHLGDECFCNMHPEECEANCPAA.tanjk>