|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Re: [PATCH, RFC] Make hostthre.c work on POSIX
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 8 Nov 2009 20:03:37 +0100 (CET)
On Sat, 7 Nov 2009, Constantine Sapuntzakis wrote:
>> If a getaddrinfo() or a gethostbyname_r() implementation anywhere is
I think single-threaded is the most common case, yes, but a large number of
But it could also be a sign that users of multi-threaded libcurl are on
> A gethostbyname_r() that's thread unsafe would be a horrible hack. I would
I'd claim that getaddrinfo() done thread unsafe is a horrible hack as well.
"The freeaddrinfo() and getaddrinfo() functions shall be thread-safe."
At least that means that such implementations aren't followin the spec - but
>> Can anyone mention a getaddrinfo() or a gethostbyname_r() implementation
Ugh! Hm. Wasn't that back in the old days when they also basically had no
I also found documents about ecos not having a thread-safe getaddrinfo().
So it looks our configure script should check getaddrinfo() for
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-11-08 These mail archives are generated by hypermail. |
Page updated November 16, 2009.
web site info