On Tue, 2002-12-03 at 18:00, Henrik Nordstrom wrote:
> On 3 Dec 2002, Robert Collins wrote:
>
> > Uhmm yes, but they go into a global register based on the name of the
> > type - which is identical.
>
> The global register is based on the integer identity of the type
> (cbdata_type type) allocated by CBDATA_CREATE_TYPE. The textual name is
> only descriptive for use by cachemgr memory pool usage.
>
Hmm, I guess. I have not time to step into the detail needed to
independently confirm. It sure is confusing to the user though.
I presume that the CBATA_TYPE macro creates the variable to hold the
instance, and the first call to ...INIT_TYPE sets a value there?
Rob
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:00 MST