xo-arena: + mapping DArena ctor from ArenaConfig
This commit is contained in:
parent
0556810471
commit
5b937ebb9d
1 changed files with 3 additions and 1 deletions
|
|
@ -80,7 +80,9 @@ namespace xo {
|
||||||
|
|
||||||
/** null ctor **/
|
/** null ctor **/
|
||||||
DArena() = default;
|
DArena() = default;
|
||||||
/** ctor from already-mapped (but not committed) address range **/
|
/** create arena from @p cfg. Will reserve memory for allocation **/
|
||||||
|
DArena(const ArenaConfig & cfg);
|
||||||
|
/** ctor from already-mapped (but not committed) address range [lo,hi] **/
|
||||||
DArena(const ArenaConfig & cfg,
|
DArena(const ArenaConfig & cfg,
|
||||||
size_type page_z,
|
size_type page_z,
|
||||||
size_type arena_align_z,
|
size_type arena_align_z,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue