cvs commit: src/sys/kern kern_proc.c

Ruslan Ermilov ru at FreeBSD.org
Wed Jun 9 16:44:30 GMT 2004


On Wed, Jun 09, 2004 at 12:32:28PM -0400, Garrett Wollman wrote:
> <<On Wed, 9 Jun 2004 18:28:57 +0200 (CEST), Lukas Ertl <le at 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.
> 
Are you trying to say that the 0->1 transition isn't possible?


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040609/7b80bcfa/attachment.bin


More information about the cvs-src mailing list