Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Aug 1999 17:04:45 -0400
From:      Brian McGovern <bmcgover@cisco.com>
To:        dan@trinsec.com
Cc:        hackers@freebsd.org
Subject:   Re: gethostbyaddr() and threads.
Message-ID:  <199908092104.RAA06010@bmcgover-pc.cisco.com>

next in thread | raw e-mail | index | archive | help
[snip]

gethostbyaddr... actually, most of the gethostby* functions... are not
thread safe. They all use a static buffer in the library.

Therefore, with threads, if you don't take precautions, I'd expect your
results to be odd.
	-Brian


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908092104.RAA06010>