Subject: 'c-ares' api 'ares_gethostbyname()' is thread safe function?

'c-ares' api 'ares_gethostbyname()' is thread safe function?

From: Vinay Kumar <win_i008_at_yahoo.com>
Date: Thu, 11 Dec 2014 12:43:08 +0000 (UTC)

Hi All,
Is 'c-ares' api 'ares_gethostbyname()' is thread safe function?The 'gethostbyname' function is obsolete. There exists a reentrant version gethostbyname_r().
Similarly is there any reentrant version of 'ares_gethostbyname()'? or 'ares_gethostbyname()' itself is reentrant function?
Regards,Vinay 
Received on 2014-12-11