An open API service indexing awesome lists of open source software.

https://github.com/vi/libmlockall

Lock all pages in memory for a process tree
https://github.com/vi/libmlockall

Last synced: about 1 year ago
JSON representation

Lock all pages in memory for a process tree

Awesome Lists containing this project

README

          

Little library that just calls mlockall at initialisation

Indented as ad-hoc real-time utility.

Usage: LD_PRELOAD=/path/to/libmlockall.so your_program

Example: LD_PRELOAD=/usr/lib/libmlockall.so schedtool -R -p 4 -e mplayer -cache 300000 /tmp/dd.mp3

/usr/bin/mlockall utility automatically sets up LD_PRELOAD.

Author page: http://vi-server.org/