1
0
forked from GitHub/gf-core

an experimental memory mapped pool. still not in use

This commit is contained in:
kr.angelov
2014-10-08 18:28:51 +00:00
parent d0441cf847
commit cd6b92867a
2 changed files with 72 additions and 12 deletions

View File

@@ -74,6 +74,9 @@ gu_local_pool_(uint8_t* init_buf, size_t sz);
* should not be used in the bodies of recursive functions.
*/
/// Create a pool stored in a memory mapped file.
GuPool*
gu_mmap_pool(char* fpath, void* addr, size_t size, void**pptr);
//@}
/// @name Destroying a pool