memory_arena
Loading...
Searching...
No Matches
Functions
arena_tlscratch.c File Reference
#include "arena.h"
+ Include dependency graph for arena_tlscratch.c:

Go to the source code of this file.

Functions

void destroy_thread_scratch_arena (void)
 Destroy the thread-local scratch arena for the calling thread.
 
t_arena * get_thread_scratch_arena (void)
 Get the thread-local scratch arena, resetting it before use.
 
t_arena * get_thread_scratch_arena_ref (void)
 Access the raw thread-local arena pointer without initialization.
 
void set_thread_scratch_arena_size (size_t size)
 Configure the initial size for the thread-local scratch arena.