← Back to Phase 2

Week 4: Concurrency Primitives

Build a correct mental model for goroutines, scheduling, and coordination

Day 16: Goroutine Lifecycle & Scheduler Foundations

Understand goroutine creation, lifecycle states, preemption, and the foundations of Go's M:N scheduler.

View Day 16 →

Day 17: Channels Deep-Dive & hchan Architecture

Explore buffered and unbuffered channel semantics, blocking behavior, FIFO queues, and Go's runtime channel representation.

View Day 17 →

Day 18: Channel Multiplexing with select

Master non-blocking channel I/O, timeout patterns, fairness, nil-channel control, and runtime selectgo behavior.

View Day 18 →

Day 19: Channel Ownership & Pipeline Patterns

Own channel lifecycle, enforce directionality, and compose concurrent fan-out and fan-in pipelines safely.

View Day 19 →

Day 20: Mutex Internals, Starvation Mode & Memory Barriers

Protect in-memory state with sync.Mutex and sync.RWMutex, starvation mode, and non-reentrant lock contracts.

View Day 20 →