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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top