Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2005 20:05:21 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: How to do proper locking
Message-ID:  <20050804190521.GA28831@walton.maths.tcd.ie>
In-Reply-To: <200508041850.14253.hselasky@c2i.net>
References:  <200508030023.04748.hselasky@c2i.net> <200508041340.58851.hselasky@c2i.net> <200508040953.59316.jhb@FreeBSD.org> <200508041850.14253.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 04, 2005 at 06:50:12PM +0200, Hans Petter Selasky wrote:
> 2) nonblocking: increment some other refcount that the
>    callback checks before accessing any data.

I think people usually call this something like a "generation count".
This sort of scheme used to be used for vnodes in FreeBSD. If you
look through the archives for people talking about type-stable
storage, you'll probably find some details.

	David.



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