Date: Sat, 22 Jul 2000 08:43:08 -0500 From: "Richard Seaman, Jr." <dick@tar.com> To: Jan Grant <Jan.Grant@bristol.ac.uk> Cc: Tan Juay Kwang <tanjk@i-dns.net>, freebsd-questions@FreeBSD.ORG Subject: Re: pthreads on 4.0-STABLE Message-ID: <20000722084307.B378@tar.com> In-Reply-To: <Pine.GHP.4.21.0007212054010.7518-100000@mail.ilrt.bris.ac.uk>; from Jan.Grant@bristol.ac.uk on Fri, Jul 21, 2000 at 08:54:35PM %2B0100 References: <20000721114316.A378@tar.com> <Pine.GHP.4.21.0007212054010.7518-100000@mail.ilrt.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 21, 2000 at 08:54:35PM +0100, Jan Grant wrote: > > My mistake. It should be getaddrinfo. But, don't know if > > its on RedHat. > > Is this now working and MT-safe? Last time I looked, it was still > causing a hang. getaddrinfo() has worked fine here for several months, though I have only used it in single threaded programs, and its not stressed in the apps I've used it it. As to whether its thread-safe, from src/lib/libc/net/getaddrinfo.c: " Issues to be discussed: - Thread safe-ness must be checked." [snip] " Note: - We use getipnodebyname() just for thread-safeness. There's no intent to let it do PF_UNSPEC (actually we never pass PF_UNSPEC to getipnodebyname()." -- Richard Seaman, Jr. email: dick@tar.com 5182 N. Maple Lane phone: 262-367-5450 Nashotah WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000722084307.B378>