From owner-freebsd-hackers Fri Jan 3 14:21:27 2003 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 1801337B401 for ; Fri, 3 Jan 2003 14:21:27 -0800 (PST) Received: from HAL9000.homeunix.com (12-233-57-224.client.attbi.com [12.233.57.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 994E643ED8 for ; Fri, 3 Jan 2003 14:21:26 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id h03MLIjU012732; Fri, 3 Jan 2003 14:21:18 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h03MLIVb012731; Fri, 3 Jan 2003 14:21:18 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Fri, 3 Jan 2003 14:21:18 -0800 From: David Schultz To: D J Hawkey Jr Cc: agapon@excite.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Multi-threaded or async Mozilla (NSPR, really) Message-ID: <20030103222118.GB12586@HAL9000.homeunix.com> Mail-Followup-To: D J Hawkey Jr , agapon@excite.com, freebsd-hackers@FreeBSD.ORG References: <20021222131200.J6771-100000_edge.foundation.invalid@ns.sol.net> <200212310200.gBV205G03285@sheol.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200212310200.gBV205G03285@sheol.localdomain> 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 Thus spake D J Hawkey Jr : > Is there an appreciable difference between "re-entrant" and "thread-safe"? ``Thread-safe'' just means that multiple threads can call the routine without something blowing up due to a race. ``Reentrant'' means that the routine is thread-safe, AND that multiple calls to it may proceed at the same time. That is, there isn't a big lock protecting the entire routine. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message