From owner-freebsd-hackers Mon Dec 30 18: 0:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7E4D37B401 for ; Mon, 30 Dec 2002 18:00:11 -0800 (PST) Received: from bodb.mc.mpls.visi.com (bodb.mc.mpls.visi.com [208.42.156.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6198C43E4A for ; Mon, 30 Dec 2002 18:00:11 -0800 (PST) (envelope-from hawkeyd@visi.com) Received: from sheol.localdomain (hawkeyd-fw.dsl.visi.com [208.42.101.193]) by bodb.mc.mpls.visi.com (Postfix) with ESMTP id 8902D4ABA; Mon, 30 Dec 2002 20:00:06 -0600 (CST) Received: (from hawkeyd@localhost) by sheol.localdomain (8.11.6/8.11.6) id gBV205G03285; Mon, 30 Dec 2002 20:00:05 -0600 (CST) (envelope-from hawkeyd) Date: Mon, 30 Dec 2002 20:00:05 -0600 (CST) Message-Id: <200212310200.gBV205G03285@sheol.localdomain> Mime-Version: 1.0 X-Newsreader: knews 1.0c.0 Reply-To: hawkeyd@visi.com Organization: if (!FIFO) if (!LIFO) break; References: <20021222131200.J6771-100000_edge.foundation.invalid@ns.sol.net> In-Reply-To: <20021222131200.J6771-100000_edge.foundation.invalid@ns.sol.net> From: hawkeyd@visi.com (D J Hawkey Jr) Subject: Re: Multi-threaded or async Mozilla (NSPR, really) X-Original-Newsgroups: sol.lists.freebsd.hackers To: agapon@excite.com, freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20021222131200.J6771-100000_edge.foundation.invalid@ns.sol.net>, agapon@excite.com writes: > > as a matter of fact gethost*() family of calls is not thread-safe in > FreeBSD. > You can search FreeBSD PRs and mozilla's bugzilla for "mozilla DNS" to see > previous discussions and efforts. Without checking, I'll take your word for it. But if so, what are they doing in libc_r? I thought that was for re-entrant/thread-safe functions? Is there an appreciable difference between "re-entrant" and "thread-safe"? Thanks, Dave -- Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message