BirdNest Tech Talk
Oct 20, 2024 · Fundamentals
Unveiling Go’s runq: Lock‑Free Queues Behind the Scheduler
This article dissects Go's runtime GPM model and the lock‑free runq data structure, detailing its fields, core operations such as runqput, runqget, runqgrab, and their atomic implementations, while also comparing local and global queues and illustrating the code paths with concrete examples.
Data StructuresGoRuntime
0 likes · 24 min read
