Date: Mon, 26 Jun 2000 17:01:55 -0700 From: John-Mark Gurney <gurney_j@efn.org> To: Alfred Perlstein <bright@wintelcom.net> Cc: arch@freebsd.org Subject: Re: dynamic filetypes. please comment. Message-ID: <20000626170155.54803@hydrogen.funkthat.com> In-Reply-To: <20000626142428.A275@fw.wintelcom.net>; from Alfred Perlstein on Mon, Jun 26, 2000 at 02:24:28PM -0700 References: <20000626142428.A275@fw.wintelcom.net>
index | next in thread | previous in thread | raw e-mail
Alfred Perlstein scribbled this message on Jun 26:
> This idea leads us to a generic api for seqeunce number generation
> that we can use when a subsystem needs an increasing unique number,
> the api would look something like:
>
> (void)sequence_register("filetypes", starting_number);
> mynum = sequence_next("filetypes"); /* to be used for f_type */
shouldn't we use newbus for this? and treat this like device driver
assignment? we can "wire" down filetypes numbers using the same method
that drivers are wired down with...
Inventing another interface for one that already exists seems redundant..
--
John-Mark Gurney Voice: +1 408 975 9651
Cu Networking
"Thank God I'm an atheist, that'd just be confusing." -- cmc
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000626170155.54803>
