Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2000 15:08:46 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        arch@FreeBSD.ORG, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Subject:   Re: An opaque refcount type
Message-ID:  <XFMail.001212150846.jhb@FreeBSD.org>
In-Reply-To: <xzpzoi1e3u3.fsf@flood.ping.uio.no>

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

On 12-Dec-00 Dag-Erling Smorgrav wrote:
> 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)

Currently they are all static inlines.

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

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.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?XFMail.001212150846.jhb>