Skip site navigation (1)Skip section navigation (2)
Date:      12 Dec 2000 22:18:12 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, arch@FreeBSD.ORG
Subject:   Re: An opaque refcount type
Message-ID:  <xzpzoi1e3u3.fsf@flood.ping.uio.no>
In-Reply-To: John Baldwin's message of "Tue, 12 Dec 2000 13:06:56 -0800 (PST)"
References:  <XFMail.001212130656.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin <jhb@FreeBSD.ORG> writes:
> On 12-Dec-00 Garrett Wollman wrote:
> > In any event, I think requiring a functional interface to reference
> > counts is probably a Bad Idea.
> Would you prefer C macros to static inline's then?

I'd say compromise - use functions in the INVARIANTS case, macros
otherwise (I assume that the code in the non-INVARIANTS case is very
short and simple)

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


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




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