Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2000 06:14:18 +0900
From:      Jun-ichiro itojun Hagino <itojun@iijlab.net>
To:        "Greg Thompson" <johnnyteardrop@hotmail.com>
Cc:        crandall@matchlogic.com, freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: threadsafe name resolution 
Message-ID:  <200008092114.e79LEI610855@itojun.org>
In-Reply-To: johnnyteardrop's message of Wed, 09 Aug 2000 14:36:40 EDT. <F39VkR7CBRnarL6ypUL000031b0@hotmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

>as long as nothing other than getipnodebyname and byaddr share resources 
>with those two, i'm safe if i just throw a mutex around my calls to 
>byname/addr.  unfortuantely, this solution gets the "big suck" rating.  if 
>the operating system ships with mechanisms that are documented as being 
>thread-safe, they should be.  if they're not, it should be clearly stated in 
>a bug report somewhere that this is the case.  i have submitted a bug with 
>KAME.  i hope they fix it soon.  in the meantime, it'd be nice if freebsd 
>had an alternative.

	sorry for bad documentation, manpage should be updated to state
	"the current implementation is not thread safe" in BUGS section.

itojun


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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