Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2004 15:36:57 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        phk@phk.freebsd.dk
Cc:        nate@root.org
Subject:   Re: cvs commit: src/sbin/kldunload kldunload.8 kldunload.c 
Message-ID:  <20040713.153657.36025694.imp@bsdimp.com>
In-Reply-To: <25996.1089753756@critter.freebsd.dk>
References:  <20040713.151549.66796909.imp@bsdimp.com> <25996.1089753756@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <25996.1089753756@critter.freebsd.dk>
            "Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
: In message <20040713.151549.66796909.imp@bsdimp.com>, "M. Warner Losh" writes:
: 
: >: I'm pretty sure i mean "multiple inheritance":
: >: 
: >: 	objects A, B, X, Y;
: >: 	A is a child of X and Y;
: >: 	B is a child of Y and Z;
: >: 
: >: that was called multiple inheritance last I read about OO.
: >
: >If you are talking types, that's multiple inheritance.  If you are
: >talking instances in the object tree, that's multi pathing.
: >
: >newbus definitely supports multiple inheritance like you describe.
: >Just use DEFINE_CLASS_2 for objects A and B and list X and Y for the
: >first one and Y and Z for the second.
: 
: That was another thing I ran into with newbus: I had to define
: things at compile time which I only knew at (auto-)configure time.

Which things?

Warner



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