Function llama_supports_mlock

Source
pub fn llama_supports_mlock() -> bool
Expand description

checks if mlock is supported


if llama_supports_mlock() {
  println!("mlock is supported!");
} else {
  println!("mlock is not supported!");
}