Date: Fri, 13 Oct 2000 09:26:41 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: bright@wintelcom.net (Alfred Perlstein) Cc: tlambert@primenet.com (Terry Lambert), arch@FreeBSD.ORG Subject: Re: we need atomic_t Message-ID: <200010130926.CAA23043@usr09.primenet.com> In-Reply-To: <20001012230807.H272@fw.wintelcom.net> from "Alfred Perlstein" at Oct 12, 2000 11:08:07 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> What's annoying me here is that everyone wants atomic_t to > do all these amazing things for which i'm not presenting it > for. All I want it for is: > > 1) refcounting in ucred > 2) refcounting in mbuf > 3) refcounting in uidinfo > 4) providing at least 16 bits of atomically-or/and-able bits for > certain flags structures that I may want to have atomic ops for. > > If anyone has a situation that atomic_t as presented here is > unsuitable for then they are welcome to get off my back and > make up some other magic type to address their problem. Why call it "atomic_t" instead of "long", then? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. 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?200010130926.CAA23043>