func runtime/debug.SetMaxThreads

one use

	runtime/debug (current package)
		garbage.go#L135: func SetMaxThreads(threads int) int {