vault: Index | Files

package mlock

import ""


Package Files

mlock.go mlock_unix.go

func LockMemory Uses

func LockMemory() error

LockMemory prevents any memory from being swapped to disk.

func Supported Uses

func Supported() bool

Supported returns true if LockMemory is functional on this system.

Package mlock imports 2 packages (graph) and is imported by 6 packages. Updated 2019-04-12. Refresh now. Tools for package owners.