Function mlock_supported

Source
pub fn mlock_supported() -> bool
Expand description

is memory locking supported according to llama.cpp

let mlock_supported = mlock_supported();
if mlock_supported {
   println!("mlock_supported!");
}