cpython/Objects/mimalloc/prim
Jakub Kulík 10d3f04aec
gh-112808: Fix mimalloc build on Solaris (#112809)
2024-01-08 15:50:56 -08:00
..
osx
unix gh-112808: Fix mimalloc build on Solaris (#112809) 2024-01-08 15:50:56 -08:00
wasi gh-90815: Fix mimalloc build on WASI (#111524) 2023-10-30 23:10:22 +01:00
windows
prim.c
readme.md

readme.md

Portability Primitives

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

  • include/mimalloc/prim.h: primitive portability API definition.
  • prim.c: Selects one of unix/prim.c, wasi/prim.c, or windows/prim.c depending on the host platform (and on macOS, osx/prim.c defers to unix/prim.c).

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