From f178be54059125c0a28f5dc88e94394e4de92e77 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 8 Oct 2014 18:28:51 +0000 Subject: an experimental memory mapped pool. still not in use --- src/runtime/c/gu/mem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/runtime/c/gu/mem.h') 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 -- cgit v1.2.3