maxprocs

package
v0.1.1-experimental.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package maxprocs automatically set GOMAXPROCS to match the Linux container CPU quota (if any), returning any error encountered and an undo function. Set is a no-op on non-Linux systems and in Linux environments without a configured CPU quota.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL