[Jack-Devel] memory lock
robin at gareus.org
Mon Oct 15 23:37:49 CEST 2018
On 10/15/2018 10:51 PM, Fons Adriaensen wrote:
> Hello all,
> A simple question: does libjack (try to) lock client memory ?
There is no simple answer, except "depends".
jack1: yes, for client threads. jack1 also calls mlockall() and has a
blacklist of system-wide libs/path to not lock . You can however
disable it with an option at compile and runtime.
Both jack1 and jack2's libjack's ringbuffer implementation has an API
jack_ringbuffer_mlock(), but that needs an explicit call.
More information about the Jackaudio