getHostbyname()/ getAddrInfo()/localtime() calls thread safe?

  • Thread starter Thread starter Samuel
  • Start date Start date
S

Samuel

On unix platforms they do not seem to be thread safe and
it is recommended to use re-entrant functions like
gethostByname_r().

However no documentation was found in this respect on
windows. Are localtime(), gethostbyname() or the new
getaddrinfo() calls thread safe on windows? If no, are
there any alternatives to them.

Thanks in advance
 
Back
Top