Tag

Runtime

1 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Jan 25, 2022 · Fundamentals

Understanding Go's Concurrency Model: Goroutine, Scheduler (GMP) and Channels

Go implements a two‑level N:M concurrency model where lightweight Goroutines (G) run on logical processors (P) backed by OS threads (M), with the GMP scheduler managing run queues and channels—mutex‑protected circular buffers with send/receive queues—providing efficient, preemptive multitasking and communication.

ConcurrencyGMPGo
0 likes · 33 min read
Understanding Go's Concurrency Model: Goroutine, Scheduler (GMP) and Channels