Re: [PATCH 04/16] Add embedded list interface (header only) - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [PATCH 04/16] Add embedded list interface (header only)
Date
Msg-id CA+TgmoZHWARQWCvq=Rp5RDkMG_XxqGWC=p9v+b8+PZRExNHNnA@mail.gmail.com
Whole thread Raw
In response to [PATCH 04/16] Add embedded list interface (header only)  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: [PATCH 04/16] Add embedded list interface (header only)  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On Wed, Jun 13, 2012 at 7:28 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> Adds a single and a double linked list which can easily embedded into other
> datastructures and can be used without any additional allocations.

dllist.h advertises that it's embeddable.  Can you use that instead,
or enhance it slightly to support what you want to do?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: use of int4/int32 in C code
Next
From: Andres Freund
Date:
Subject: Re: [PATCH 10/16] Introduce the concept that wal has a 'origin' node