Subject: Re: Initialising pools using link sets
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 04/10/2004 12:26:09
--Apple-Mail-28-238754466
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Apr 10, 2004, at 10:30 AM, YAMAMOTO Takashi wrote:
>> sys/pool.h
>> New POOL_INIT macro that sets up the link sets.
>
> because it's similar to MALLOC_DEFINE rather than pool_init,
> its name sounds a little strange to me. how about POOL_DEFINE?
Well... it's sort of both.
You can still dynamically initialize a pool, you don't have to use the
POOL_INIT() macro.
Because of this, I think POOL_INIT() is fine.
-- Jason R. Thorpe <thorpej@wasabisystems.com>
--Apple-Mail-28-238754466
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFAeEpROpVKkaBm8XkRAiM1AKCIyA0iQ/0+Nmh8aTDYmUhlKCa4uACfeeCQ
AfADW01uS4LC2Lb8itosXuw=
=xSQb
-----END PGP SIGNATURE-----
--Apple-Mail-28-238754466--