package
Version:
v0.182.6
Opens a new window with list of versions in this module.
Published: Oct 6, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package runenv assembles governed child environments without ambient state.
-
func Daemon(base, argv []string, additions map[string]string, operationID string, ...) []string
-
func Synchronous(base, argv []string, operationID string, units int, effectiveGOFLAGS string) []string
-
func Worker(base, argv []string, operationID string, units int, effectiveGOFLAGS string) []string
Daemon applies durable additions before allocation overrides. GOMAXPROCS is
governed from the original inherited base, not the durable additions.
Synchronous leaves CPU fields unchanged for an ungoverned command.
Worker sets allocation fields even when units is nonpositive.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.