Last Updated: May 22, 2026
GOMAXPROCS is the knob that controls how many OS threads can run Go code at the same time. In scheduler terms from the previous chapter, it sets the number of P's. This lesson covers how to read it, how to set it, what the default is, and why you almost never want to touch it.