Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Feb 2002 10:16:26 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Julian Elischer <julian@elischer.org>, current@freebsd.org
Subject:   Re: ucred for threads
Message-ID:  <XFMail.020208101626.jhb@FreeBSD.org>
In-Reply-To: <3C636F6C.96506043@mindspring.com>

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

On 08-Feb-02 Terry Lambert wrote:
> John Baldwin wrote:
>> No, an unlocked compare is _not_ ok.  What if the p_ucred pointer was
>> changed
>> on some other processor by another thread from this processor?
> 
> I saw your response to Julian... I understand the concern,
> but I think it's unfounded.  Let me explain.

Yes, it's an acceptable race to lose as you say.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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