Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2003 01:28:19 +0200
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: thread safe functions missing ... ?
Message-ID:  <xzpn0d7ne5o.fsf@dwp.des.no>
In-Reply-To: <20030913222303.H82880@ganymede.hub.org> (Marc G. Fournier's message of "Sat, 13 Sep 2003 22:24:52 -0300 (ADT)")
References:  <20030913222303.H82880@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Marc G. Fournier" <scrappy@hub.org> writes:
> Your gethostbyname() is _not_ thread-safe

Use getaddrinfo(3) instead.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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