core/container/pool

container_pool

Types

1

Pool

Pool :: struct {}Source

A thread-safe (between init and destroy) object pool backed by virtual growing arena returning stable pointers. The element type requires an intrusive link node.

Example:

Elem :: struct {
	link: ^Elem,
}

p: pool.Pool(Elem)
pool.init(&p, "link")

Constants

4

Procedures

14

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.