Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 14:21:18 -0800
From:      David Schultz <dschultz@uclink.Berkeley.EDU>
To:        D J Hawkey Jr <hawkeyd@visi.com>
Cc:        agapon@excite.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Multi-threaded or async Mozilla (NSPR, really)
Message-ID:  <20030103222118.GB12586@HAL9000.homeunix.com>
In-Reply-To: <200212310200.gBV205G03285@sheol.localdomain>
References:  <20021222131200.J6771-100000_edge.foundation.invalid@ns.sol.net> <200212310200.gBV205G03285@sheol.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake D J Hawkey Jr <hawkeyd@visi.com>:
> 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




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