cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: [PATCH, RFC] Make hostthre.c work on POSIX

From: Constantine Sapuntzakis <csapuntz_at_gmail.com>
Date: Thu, 12 Nov 2009 13:25:14 -0800

> The same way as other functions check for specific function
> capabilities, the getaddrinfo function check now will also attempt to
> find out if it happens to be threadsafe.

Looking at your recent checkin... getaddrinfo is also probably thread
safe if gethostbyname_r exists.
I think it would be most straightforward HAVE_GETADDRINFO_THREADSAFE
be defined to 1 then too.

Also, based on my casual read of libinfo, Darwin getaddrinfo should be
thread safe back to 10.0.

-Costa
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-12

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET