Subject: Re: is netbsd resolver reentrant?
To: Wolfgang S. Rupprecht <wolfgang+gnus20040220T133734@dailyplanet.dontspam.wsrcc.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-userlevel
Date: 02/21/2004 15:05:31
--Apple-Mail-64-313283744
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Feb 20, 2004, at 1:40 PM, Wolfgang S. Rupprecht wrote:

> Is there something in the thread infrastructure that would prevent the
> non-reentrant functions from being called reentrantly or can threaded
> programs just be expected to blow up when a non-reentrant function
> gets called in a nested fashion from different threads?

If a threaded application calls a non-reentrant function, it must 
provide a mutex around that function itself.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-64-313283744
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFAN+Q/OpVKkaBm8XkRAljJAJ9xxP9/aNb1T/OVEIv0mzeuldkK1wCghX1L
TbbRgNuRyK0cNmX8B+WEm8A=
=wf3S
-----END PGP SIGNATURE-----

--Apple-Mail-64-313283744--