libpussy: collection of basic things
Everything is work in progress and subject to change.
Allocators
arena allocator
Uses mmap as underlying allocator.
pet allocator
The main allocator is bitmap-based. Other twos are for debugging purposes:
- wrapper for malloc/realloc/free
- debug allocator that detects bubblewrap corruption around allocated blocks
Dump functions
Hex and bitmap dump functions.
MMarray
Simple dynamic array using mmap as allocator.
Ring buffers
Basic and thread-safe implementations of ring buffer.
Using mmap as allocator.
Synchronization primitives
Synchronization primitives based on condition variable.
Event implementation only for now.
Timespec utils
Utilities that work with struct timespec.