Struct colosseum::AtomicArena [] [src]

pub struct AtomicArena<T> { /* fields omitted */ }

A thread-safe arena.

Methods

impl<T> AtomicArena<T>
[src]

Create a new AtomicArena with a default size of approximately 1024 bytes.

Create a new AtomicArena with enough capacity for at least n Ts without a reallocation.

Allocate a single object in the arena.

Allocate an arbitrary number of objects in the arena.