htils 1
A small set of utilities for C programming.
Loading...
Searching...
No Matches
arena Struct Reference

An atomic arena. More...

#include <arena.h>

Data Fields

u64 reserved
u64 committed
atomic_u64 pos
u64 commit_pos
mtx_t commit_mtx

Detailed Description

An atomic arena.

Parameters
reservedThe size of the Atomic arena.
committedThe size of the committed heap.
posThe current atomic position of the heap.
commit_posThe current committed position of the heap.
commit_mtxThe mutex for the committed position.

Field Documentation

◆ commit_mtx

mtx_t arena::commit_mtx

◆ commit_pos

u64 arena::commit_pos

◆ committed

u64 arena::committed

◆ pos

atomic_u64 arena::pos

◆ reserved

u64 arena::reserved

The documentation for this struct was generated from the following file: