Back to / helper / mlock

package mlock

Latest Go to latest
Published: Jul 25, 2019 | License: MPL-2.0 | Module:


func LockMemory

func LockMemory() error

LockMemory prevents any memory from being swapped to disk.

func Supported

func Supported() bool

Supported returns true if LockMemory is functional on this system.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier