< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] thread-safe version of gethostbyname for mac OSX


Is there a version of gethostbyname that is thread-safe on MAC? On
most operating systems there is a function gethostbyname_r that is
thread-safe. gethostbyname returns a pointer to static memory and is
thus not reentrant. Trying to fix DnsUtil for MAC.

Can Mac folks chime in here.

Jason