mimalloc/src/prim
2023-03-19 20:21:20 -07:00
..
unix simplify primitives API 2023-03-19 20:21:20 -07:00
wasi simplify primitives API 2023-03-19 20:21:20 -07:00
windows simplify primitives API 2023-03-19 20:21:20 -07:00
prim.c update process info primitive api 2023-03-19 19:11:43 -07:00
prim.h simplify primitives API 2023-03-19 20:21:20 -07:00
readme.md integrate ETW windows event tracing into mimalloc as another track tool 2023-03-16 20:08:43 -07:00

Portability Primitives

This is the portability layer where all primitives needed from the OS are defined.

  • prim.h: API definition
  • prim.c: Selects one of unix/prim.c, wasi/prim.c, or windows/prim.c depending on the host platform.

Note: still work in progress, there may still be places in the sources that still depend on OS ifdef's.