Back to godoc.org
github.com/hashicorp/vault/sdk / helper / mlock

package mlock

v0.1.13
Latest Go to latest
Published: Jul 25, 2019 | License: MPL-2.0 | Module: github.com/hashicorp/vault/sdk

Index

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