[refactor] new version of the API
This is the result of countless interations on the internal design of the various building blocks we want to have for this library. At this point, I hope that this is stable enough. There are still some tweaks needed here and there, but the core is implemented AND tested. Some of the design decisions made: - all functions are public, but most are not meant to be used directly. - intended public functions take "generic" structs as arguments - intended actual implementations rely on more complex structures, with their own family of data and operators. - split all objects between data and operator structs. Exemple: - area.c and arena.c are generic dispatch functions to call the actual, specific implementations. - struct aml_area and struct_aml_arena are the same. Currently implement: - 2 area types: posix (malloc) and linux (numa). - 1 arena type: jemalloc
Showing
src/area_linux.c
0 → 100644
src/area_linux_manager.c
0 → 100644
src/area_linux_mbind.c
0 → 100644
src/area_linux_mmap.c
0 → 100644