Re: potential cbdata problem with multiple store dirs.

From: Robert Collins <robertc@dont-contact.us>
Date: 03 Dec 2002 18:05:20 +1100

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

Received on Tue Dec 03 2002 - 00:05:25 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:00 MST