Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Pet's collection of essentials.

License

petbrain/libpussy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libpussy: collection of basic things

Everything is work in progress and subject to change.

Allocators

arena allocator

arena.h

Uses mmap as underlying allocator.

pet allocator

allocator.h

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

dump.h

Hex and bitmap dump functions.

MMarray

mmarray.h

Simple dynamic array using mmap as allocator.

Ring buffers

ringbuffer.h

Basic and thread-safe implementations of ring buffer. Using mmap as allocator.

Synchronization primitives

sync.h

Synchronization primitives based on condition variable.

Event implementation only for now.

Timespec utils

timespec.h

Utilities that work with struct timespec.

Releases

No releases published

Packages

No packages published