glib/docs/reference
Emmanuele Bassi 475d574440 Add aligned memory allocators
When working with storage (especially GInputStream or GOutputStream) it
is preferred to use page-aligned buffers so that the operating system
can do page-mapping tricks as the operation passes through the kernel.

Another use case is allocating memory used for vectorised operations,
which must be aligned to specific boundaries.

POSIX and Windows, as well as the C11 specification, provide this kind
of allocator functions, and GLib already makes use of it inside GSlice.
It would be convenient to have a public, portable wrapper that other
projects can use.

Fixes: #2574
2022-02-11 14:44:09 +00:00
..
gio Merge branch 'gdbus-call-interactive' into 'main' 2021-11-22 13:58:46 +00:00
glib Add aligned memory allocators 2022-02-11 14:44:09 +00:00
gobject gversionmacros: Add version macros for GLib 2.72 2021-09-17 11:35:21 +01:00
.gitignore .gitignore manpages (*.1) 2010-05-24 23:21:01 -04:00
AUTHORS Initial revision 1999-08-16 17:58:30 +00:00
COPYING Initial revision 1999-08-16 17:58:30 +00:00
meson.build gversionmacros: Add version macros for GLib 2.72 2021-09-17 11:35:21 +01:00
NEWS Initial revision 1999-08-16 17:58:30 +00:00