Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 12:32:28 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Lukas Ertl <le@FreeBSD.ORG>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern kern_proc.c 
Message-ID:  <200406091632.i59GWSmF052675@khavrinen.lcs.mit.edu>
In-Reply-To: <20040609182606.X707@korben.in.tern>
References:  <55929.1086798000@critter.freebsd.dk> <20040609182606.X707@korben.in.tern>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 9 Jun 2004 18:28:57 +0200 (CEST), Lukas Ertl <le@FreeBSD.ORG> said:

> Is there a possibility that foo->refcount is incremented after both of 
> them left the critical section, so that i is 0, but foo->refcount isn't?

The only way there can be such a possibility is if you haven't counted
all the references.

-GAWollman



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