readme

来自「一个关于memory pool 的实例」· 代码 · 共 47 行

TXT
47
字号
-------------------------------------------------------------------------------$Id: README,v 1.2 2005/05/22 19:49:30 gray Exp $-------------------------------------------------------------------------------BACKGROUND:This is a memory pool library which was written to allow a program tohave heaps that it could destroy without fragmenting memory.  You canhave multiple heaps and reset them easily completely reclaiming thememory (as opposed to standard heaps).With it you can mpool_open() a new heap, then mpool_alloc(),mpool_calloc(), mpool_realloc(), mpool_free() to your heart's content.Once you are done with the memory-pool you can run mpool_clear() ormpool_close() and completely remove the memory associated with thepools.  This is very handy if you are working with some large blocksof memory and want to reset back to a clean state.Check out the mpool.h file for more information.  Sorry for minimaldocs.-------------------------------------------------------------------------------INSTALLATION:1) Typing 'make' should be enough to build libskip.a.2) Typing 'make tests' should make the mpool_t test program.-------------------------------------------------------------------------------REPOSITORY:The newest versions of the library are available from:	http://256.com/sources/mpool/-------------------------------------------------------------------------------AUTHOR:If you have any questions or problems feel free to send me mail.Gray Watsonhttp://256.com/gray/-------------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?