|
htils 1
A small set of utilities for C programming.
|
An atomic arena. More...
#include <arena.h>
Data Fields | |
| u64 | reserved |
| u64 | committed |
| atomic_u64 | pos |
| u64 | commit_pos |
| mtx_t | commit_mtx |
An atomic arena.
| reserved | The size of the Atomic arena. |
| committed | The size of the committed heap. |
| pos | The current atomic position of the heap. |
| commit_pos | The current committed position of the heap. |
| commit_mtx | The mutex for the committed position. |
| mtx_t arena::commit_mtx |
| u64 arena::commit_pos |
| u64 arena::committed |
| atomic_u64 arena::pos |
| u64 arena::reserved |