]> git.ipfire.org Git - thirdparty/bird.git/commit
Added lp_flush() which flushes contents of a linear pool, leaving all the
authorMartin Mares <mj@ucw.cz>
Mon, 29 Mar 1999 19:35:47 +0000 (19:35 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 29 Mar 1999 19:35:47 +0000 (19:35 +0000)
commitf5c687f7911501ac1efd8163fade4862dc65456c
tree04fa54e6c2e09a1f3bee060b4694c8822fcbec31
parentf54801ffedf3d6342b37c1560502bfc24e7fe64a
Added lp_flush() which flushes contents of a linear pool, leaving all the
memory available for subsequent allocations from the same pool. Both flushing
and re-using the memory costs just few instructions.
lib/mempool.c
lib/resource.h