diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2014-10-08 18:28:51 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2014-10-08 18:28:51 +0000 |
| commit | f178be54059125c0a28f5dc88e94394e4de92e77 (patch) | |
| tree | 59520bbcdaaa0900d19b91648267db5f4f776c5e /src/runtime/c/gu/mem.h | |
| parent | 539f0880a33adf9a45d35a62a86f2d9115f7c9ec (diff) | |
an experimental memory mapped pool. still not in use
Diffstat (limited to 'src/runtime/c/gu/mem.h')
| -rw-r--r-- | src/runtime/c/gu/mem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/c/gu/mem.h b/src/runtime/c/gu/mem.h index e52e14968..bec8ffa44 100644 --- a/src/runtime/c/gu/mem.h +++ b/src/runtime/c/gu/mem.h @@ -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 |
